configure richfaces with neatbeans 5.51 and facelets and tom
dnewdawgs Nov 13, 2007 12:51 PM
I am trying to build a application using netbeans 5.5.1 facelets 1.1.12 tomcat 5.5.23 and richfaces 3.1.0. as soon as I add the three richfaces jar files to my web-inf\lib folder my tomcat throws a 404 error
Nov 12, 2007 10:57:18 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/home]
Nov 12, 2007 10:57:19 AM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
INFO: Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
Nov 12, 2007 10:57:19 AM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/C:/Projects/home/build/web/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
Nov 12, 2007 10:57:19 AM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/C:/Projects/home/build/web/WEB-INF/lib/richfaces-impl-3.1.0.jar!/META-INF/faces-config.xml
Nov 12, 2007 10:57:19 AM org.apache.myfaces.config.FacesConfigurator feedClassloaderConfigurations
INFO: Reading config jar:file:/C:/Projects/home/build/web/WEB-INF/lib/richfaces-ui-3.1.0.jar!/META-INF/faces-config.xml
Nov 12, 2007 10:57:19 AM org.apache.myfaces.config.FacesConfigurator feedWebAppConfig
INFO: Reading config /WEB-INF/faces-config.xml
Nov 12, 2007 10:57:19 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 12, 2007 10:57:19 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/home] startup failed due to previous errors
my web.xml file looks like this
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
REQUEST
FORWARD
INCLUDE
</filter-mapping>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>facelets.SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
</web-app>
I am not understanding what the problem is.
i have the following jar files in my lib
commons-beanutils.jar
commons-codec-1.3.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
el-api.jar
el-ri.jar
jsf-facelets.jar
myfaces-api-1.1.4.jar
myfaces-impl-1.1.4.jar
richfaces-api-3.1.0.jar
richfaces-impl-3.1.0.jar
richfaces.ui.3.1.0.jar