[jboss-user] [JBoss Tools] New message: "Re: Cannot run a JSF project"

Denis Golovin do-not-reply at jboss.com
Thu Feb 25 13:45:48 EST 2010


User development,

A new message was posted in the thread "Cannot run a JSF project":

http://community.jboss.org/message/528596#528596

Author  : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin

Message:
--------------------------------------------------------------
I've just verified this on JBDS 2.1.1.GA build.
My environment is:
1. OS - Linux Ubuntu 9.10
2. JVM - Open JDK 1.6
3. IDE - JBDS 2.1.1.GA
4. Server - Tomcat 6.0.20
5. WAR - downloaded from your link provided below
 
What I did to verify:
1. Installed JBDS 2.1.1.GA
2. Created Tomcat server
3. Downloaded archive using URL provided below
4. Extracted WAR file from it into temporary directory
5. Imported it with default values through "Import" dialog available by "File/Import..." menu like it shown below
http://community.jboss.org/servlet/JiveServlet/showImage/2151/jsf-import.png
Left all suggested default values and press Finish button
http://community.jboss.org/servlet/JiveServlet/showImage/2152/jsf-import-params.png
6. Ran imported example through Run On Server "Run as->Run on Server"pop-up menu in Java Package Explorer
http://community.jboss.org/servlet/JiveServlet/showImage/2153/jsf-import-run-on-server.png
7. Got first page like this
http://community.jboss.org/servlet/JiveServlet/showImage/2155/jsf-started.png
What did you exactly do besides that?
Have you ever seen clean example started and working?
What is your web.xml and new xhtml page look like?
 
If you are using web.xml from seam it should be references like .seam according to servlet mapping declaration

<servlet-mapping>
   <servlet-name>Faces Servlet</servlet-name>
   <url-pattern>*.seam</url-pattern>
</servlet-mapping>


--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/528596#528596




More information about the jboss-user mailing list