Hi, seems there is a bug in this tomcat, see this thread: http://www.nabble.com/cannot-run-examples-with-Tomcat-5.5.20-p7556544.html
Please add the listener to the web.xml or try another tomcat. Regards, Volker 2007/2/5, sandhya gokhale <[EMAIL PROTECTED]>:
Hi, I installed tomcat 5.5.20 and then logging as manager deployed tobago-example-blank-1.0.9.war and tobago-example-demo-1.0.9.war I get following error when I access http://localhost:8080/tobago-example-blank-1.0.9/ description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Exception in JSP: /index.jsp:17 14: * See the License for the specific language governing permissions and 15: * limitations under the License. 16: --%> 17: <jsp:forward page="faces/helloWorld.jsp" />; Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause javax.servlet.ServletException: Servlet.init() for servlet FacesServlet threw exception org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) org.apache.jsp.index_jsp._jspService(index_jsp.java:44) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. A typical config looks like this; <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener> javax.faces.FactoryFinder.getFactory(FactoryFinder.java:90) javax.faces.webapp.FacesServlet.init(FacesServlet.java:88) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658) org.apache.jsp.index_jsp._jspService(index_jsp.java:44) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) ________________________________ Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.

