1 Reply Latest reply on Oct 23, 2007 4:39 PM by Sergey Smirnov

    ready-to-deploy demo throws exception on welcome page

    asdf asdfasd Newbie

      Hi,

      just downloaded http://download.jboss.com/jboss-richfaces/richfaces-demo-3.1.2.GA.war and deployed it on tomcat5.5.

      when loading http://localhost:8080/richfaces-demo-3.1.2.GA/ this is what I get:

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.apache.jasper.JasperException: Servlet.init() for servlet Faces Servlet threw exception
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      root cause

      java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
      javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
      javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.

      Any hints much appreciated

      lefti