0 Replies Latest reply on Nov 13, 2007 1:47 PM by mgrouch

    Delegate for FacesServlet

    mgrouch Expert

      Does anyone has example of delegate java class for FacesServlet?

      We used myfaces but same solution doesn't work with JSF RI 1.2/Seam

      throwing exception:

      [java] java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFac
      tory
      [java] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
      [java] at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
      [java] at com.lehman.cmps.core.web.faces.util.ExtFacesServlet.init(ExtFacesServlet.java:71)
      [java] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      [java] at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
      [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
      [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      [java] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      [java] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      [java] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      [java] at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:853)
      [java] at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
      [java] at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513)
      [java] at java.lang.Thread.run(Thread.java:595)


      Thanks