This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Unable to use JSF AJAX component libs | ||
---|---|---|---|
Product: | javaee | Reporter: | jfurmankiewicz <jfurmankiewicz> |
Component: | JSF | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jfurmankiewicz
2006-09-22 19:35:34 UTC
Just to be clear, by "Run fails", I meant that when I try to access the app via the browset I get the dreaded: HTTP Status 404 - /JSFTR2/ type Status report message /JSFTR2/ description The requested resource (/JSFTR2/) is not available. The actual 'Run' task in NB actually completes, it's just the app does not run after it. Hi, I don't know dynafaces, but from the attached exception it looks, like the parser in the tomcat is not able to parse a faces-config.xml. So this is not bug in NetBeans. Are you sure, that dynafaces can run inside a servlet container 2.4? When I look at sample blank-jsp, there is a faces-config.xml in the WEB-INF folder. Which jdk did you used? From my point of view, it doesn't look like bug in NetBeans. You added a library to a web project, invoked the Run action, which means, that NetBeans build the application and deploy the application to the target server. Which was OK. I tried to run blank-jsp sample application from dynfaces and this application is not running on the tomcat as well, but the reason is different. I'm marking this issue as invalid, but I'm open to discussion. Well, you see, this is where it gets tricky. I've filed a defect with Ajax4JSF: https://ajax4jsf.dev.java.net/issues/show_bug.cgi?id=16 They told me their library is fine, the issue must be with the tool (i.e. NetBeans). So, as a user, I am running around trying to figure out where the issue is. What points me to NB is that I have the same problem with *multiple* JSF component libraries from different project, which all seem to fail with the same type of runtime error. Also, note that in order to get this error all I had to do is just add the library to my project, I didn't actually reference it in any page. So, in a nutshell I am stuck between the library writers telling me it's a tools issue and Netbeans telling me its a library issue...and no clue as to where the real issue is. And I'd really like to test out these new Ajax libraries within Netbeans. Maybe there is something unusual with the way NB deploys the project to Tomcat? I'm not saying that this is library issue. What I'm saying is that your application doesn't run, because Tomcat is not able to parse the faces-config.xml. In the exception there is mentioned only the NetBeans http monitor (you can try to disable it). Did you try the sample from dynafaces on glassfish? Let me try with Glassfish and I will let you know. Hm, it worked with Glassfish. I guess it's fine to close the defect, I will try to ask around on the Dynafaces and Ajax4JSF forums to see if this is a known Tomcat issue. Defect is fine to be closed, I apologize for my mistake. Thanks |