0 Replies Latest reply on Aug 3, 2011 12:26 PM by Paul O'Connell

    Seam 2.2.2 - javax.faces.context.FacesContextFactory

    Paul O'Connell Newbie

      I understood that seam 2.2 does not have a dependency that seam 2,1 has on the java faces api. Any suggestions on how i can ensure the FacesContentFactory is correctly registered?



      2011-08-03 17:05:24,636 65184 INFO  [javax.servlet.ServletContextListener] (main:) Welcome to Seam 2.2.2.Final
      2011-08-03 17:05:25,898 66446 WARN  [org.jboss.seam.security.permission.PersistentPermissionResolver] (main:) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      2011-08-03 17:05:25,955 66503 INFO  [org.granite.messaging.webapp.AMFMessageFilter] (main:) Using configuration: {closeStreams=true, inputBufferSize=null, outputBufferSize=null}
      2011-08-03 17:05:26,047 66595 INFO  [org.apache.coyote.http11.Http11Protocol] (main:) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      2011-08-03 17:05:26,069 66617 INFO  [org.apache.coyote.ajp.AjpProtocol] (main:) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
      2011-08-03 17:05:26,076 66624 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main:) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:6s:620ms
      2011-08-03 17:05:36,114 76662 ERROR [org.granite.seam.SeamInterceptor] (http-0.0.0.0-8080-1:) Exception while pre processing the request message.
      javax.servlet.ServletException: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
           at org.granite.seam.SeamInterceptor.initializeFacesContext(SeamInterceptor.java:292)
           at org.granite.seam.SeamInterceptor.before(SeamInterceptor.java:82)
           at org.granite.messaging.amf.process.AMF3MessageProcessor.process(AMF3MessageProcessor.java:56)
           at org.granite.messaging.amf.process.AMF0MessageProcessor.process(AMF0MessageProcessor.java:78)
           at org.granite.messaging.webapp.AMFMessageServlet.doPost(AMFMessageServlet.java:59)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
           at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
           at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
           at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at com.arantech.cw.pa.webapp.NoCachingFilter.doFilter(NoCachingFilter.java:45)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.granite.messaging.webapp.AMFMessageFilter.doFilter(AMFMessageFilter.java:117)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
           at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
           at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
           at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
           at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
           at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
           at org.granite.seam.SeamInterceptor.initializeFacesContext(SeamInterceptor.java:280)