1 Reply Latest reply on Nov 23, 2005 10:18 AM by Alexander Langer

    No ConversationManager could be created, make sure the Compo

    Christian Bjørnbak Newbie

      Hi

      I'm trying to add seam/facelets to an existing application, but when I try to access my newly created facelet .xhtml I get the stacktrace below.

      I have created the ActionListener as a Seam Stateful EJB3 bean and can see the Bean is deployed during startup.

      I initially added the facelet as a non-seam .xhtml and used a plain POJO non-seam ActionListener and this worked, but not after changing to a Seam EJB3.

      I've have added the SeamVariableResolver and SeamPhaseListener to faces-config.xml. In the log I can see the SeamVariableResolver being the set, but not the SeamPhaseListener.

      Please help!

      2005-11-21 13:01:57,478: [http-cb%2F192.168.2.3-8080-1] [DEBUG] FacesServlet - service begin
      2005-11-21 13:01:57,523: [http-cb%2F192.168.2.3-8080-1] [DEBUG] LifecycleImpl - entering restoreView in org.apache.myfaces.lifecycle.LifecycleImpl
      2005-11-21 13:01:57,555: [http-cb%2F192.168.2.3-8080-1] [DEBUG] TOSessionListener - HttpSession created: 3B4487CC79EAE23026DEDEC446EBFE70
      2005-11-21 13:01:57,555: [http-cb%2F192.168.2.3-8080-1] [DEBUG] TOSessionListener - Open sessions: 1
      2005-11-21 13:01:57,665: [http-cb%2F192.168.2.3-8080-1] [ERROR] [Faces Servlet] - Servlet.service() for servlet Faces Servlet threw exception
      java.lang.IllegalStateException: No ConversationManager could be created, make sure the Component exists in application scope
      at org.jboss.seam.core.Manager.instance(Unknown Source)
      at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(Unknown Source)
      at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
      at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:105)
      at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)