14 Replies Latest reply on Jun 1, 2013 7:15 AM by wdfink

    problem deploying ear on jboss as7.1.2

    alginbel

      I'm using JBoss AS 7.1.2 (I migrate my application from from Jboss5 to Jboss AS7) , with JSF 1.2 version

      I follow this Documentation:https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7

       

      when I deploy a war  which is located within ear application

       

      I get This Error Page:

      note The full stack trace of the root cause is available in the JBoss Web/7.0.16.Final logs.

       

      type Exception report

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

      exception

      javax.servlet.ServletException: Servlet.init() for servlet faces threw exception

      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)

      org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

      java.lang.Thread.run(Thread.java:722)

       

      root cause

       

       

      java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory

      javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)

      javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)

      javax.faces.webapp.FacesServlet.init(FacesServlet.java:164)

      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)

      org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)

      java.lang.Thread.run(Thread.java:722)

       

      note The full stack trace of the root cause is available in the JBoss Web/7.0.16.Final logs.

       

      Can Someone help me

      Thank you

       

      Kader