1 Reply Latest reply on Oct 12, 2011 8:31 AM by hantsy

    Scope and Conversations annotations

    kotoko.caixote.san.gmail.com

      Hello,


        I'm using these two beans in the same page, one has a @Scope(ScopeType.PAGE) and the other @Begin(join  true).


        When I use a button that triggers an action from the @Begin bean I get:


      WARN  [Component] Cannot create Seam component, scope is not active: pesquisaProcessoBean(CONVERSATION)
      11:27:15,262 INFO  [STDOUT] 11:27:15,262 WARN  [SeamPhaseListener] uncaught exception, passing to exception handler
      org.jboss.seam.ConcurrentRequestTimeoutException: Concurrent call to conversation
           at org.jboss.seam.core.Manager.restoreAndLockConversation(Manager.java:641)
           at org.jboss.seam.core.Manager.restoreConversation(Manager.java:603)
           at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:392)
           at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230)
           at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196)
           at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175) 
              ...



        But if I chage the scope to Session I get the same error but no warning.


        Why is it out of scope with PAGE? Or what should I be looking at to find this out?