I have a web application. The application uses a Portlet and Java Server Faces. The web.xml looks like this
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <context-param> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml</param-value> </context-param> <filter> <filter-name>MyFacesExtensionsFilter</filter-name> <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class> <init-param> <param-name>maxFileSize</param-name> <param-value>20m</param-value> </init-param> </filter> <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <servlet> <servlet-name>TestPortlet</servlet-name> <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class> <init-param> <param-name>portlet-name</param-name> <param-value>TestPortlet</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>*.faces</url-pattern> </filter-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>TestPortlet</servlet-name> <url-pattern>/PlutoInvoker/TestPortlet</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> When I check the web application (TestPortlet) using Tomcat Manager, I see the web application is not started. When I start the application is fails. The error message is displayed in the window: FAIL - Application at context path /TestPortlet could not be started When I check the cmd window I used to start the server, I see the following error: Jun 29, 2007 4:43:51 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jun 29, 2007 4:43:51 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/TestPortlet] startup failed due to previous errors My first thought was Tomcat lacked the jar files for myfaces so I added them to to the server's library. This did not fix the error. Can someone lead me in the correct direction? I think I have the web.xml created properly. Thank you for taking the time to read my post. Russ -- View this message in context: http://www.nabble.com/Failure-to-file-Listener-tf4002360.html#a11368032 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]