Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4976

Conversation id not restored from page context

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.0.BETA2, 2.3.0.Final
    • Fix Version/s: 2.3.1.CR1
    • Component/s: Core
    • Labels:
      None
    • Environment:

      AS 7.1.2, Seam 2.3.0.CR1-SNAPSHOT

    • Steps to Reproduce:
      Hide

      1. Deploy the numberguess example
      2. Go to http://127.0.0.1:8080/seam-numberguess
      3. Enter a valid guess and click the guess button
      4. Enter a second valid guess and click the guess button
      5. Notice the game state doesn't change.

      Show
      1. Deploy the numberguess example 2. Go to http://127.0.0.1:8080/seam-numberguess 3. Enter a valid guess and click the guess button 4. Enter a second valid guess and click the guess button 5. Notice the game state doesn't change.
    • Workaround Description:
      Hide

      The possible workarounds are:

      • Disable partial state saving in web.xml:

        <context-param>
           <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
           <param-value>false</param-value>
        </context-param>
        

      • pass conversation id, e.g. using <s:conversationId/>

        <h:commandButton id="GuessButton" value="Guess" action="#{numberGuess.guess}">
          <s:conversationId/>
        </h:commandButton>
        

        or

        <input type='hidden' name='conversationId' value='#{conversation.id}'/>
        

        (note that the workaround shouldn't be necessary, as the conversation id should be stored in the page context)

      Show
      The possible workarounds are: Disable partial state saving in web.xml: <context-param> <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name> <param-value>false</param-value> </context-param> pass conversation id, e.g. using <s:conversationId/> <h:commandButton id="GuessButton" value="Guess" action="#{numberGuess.guess}"> <s:conversationId/> </h:commandButton> or <input type='hidden' name='conversationId' value='#{conversation.id}'/> (note that the workaround shouldn't be necessary, as the conversation id should be stored in the page context)

      Description

      The numberguess example doesn't work, as the conversation is apparently not restored during postback.

      The debug log excerpt during clicking the guess button several times:

      17:31:52,504 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:52,504 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:52,504 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:52,507 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:52,507 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:52,507 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:52,559 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:52,559 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:52,559 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:52,559 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:52,560 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:52,560 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:52,560 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:52,578 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:52,578 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:52,579 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 2
      17:31:52,579 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:52,579 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:52,580 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:52,580 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:54,468 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:54,469 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:54,469 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:54,472 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:54,472 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:54,472 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:54,495 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:54,496 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:54,496 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:54,496 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:54,496 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:54,496 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:54,497 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:54,509 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:54,509 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:54,510 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 3
      17:31:54,510 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:54,510 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:54,511 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:54,511 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:55,160 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:55,161 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:55,161 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:55,164 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:55,165 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:55,165 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:55,182 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:55,182 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:55,182 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:55,183 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:55,183 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:55,183 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:55,183 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:55,195 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:55,195 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:55,196 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 4
      17:31:55,196 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:55,196 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:55,197 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:55,197 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:55,782 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:55,783 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:55,783 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:55,786 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:55,786 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:55,786 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:55,801 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:55,801 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:55,801 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:55,801 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:55,802 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:55,802 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:55,802 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:55,815 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:55,815 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:55,815 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 5
      17:31:55,815 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:55,816 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:55,817 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:55,817 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:56,379 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:56,380 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:56,380 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:56,384 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:56,384 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:56,384 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:56,400 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:56,400 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:56,400 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:56,401 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:56,401 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:56,401 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:56,401 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:56,414 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:56,414 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:56,414 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 6
      17:31:56,414 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:56,415 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:56,416 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:56,416 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:56,922 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:56,923 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:56,925 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:56,928 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:56,928 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:56,928 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:56,946 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:56,947 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:56,947 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:56,947 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:56,951 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:56,951 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:56,951 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:56,960 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:56,960 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:56,960 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 7
      17:31:56,960 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:56,960 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:56,961 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:56,962 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:56,962 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:31:57,534 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) >>> Begin JSF request for /seam-numberguess/numberGuess.seam
      17:31:57,535 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RESTORE_VIEW 1
      17:31:57,535 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:57,539 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) isPageContextActive is null
      17:31:57,539 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) Page Context will be lazilly created
      17:31:57,540 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) No stored conversation
      17:31:57,550 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: INVOKE_APPLICATION 5
      17:31:57,551 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:57,551 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) beginning transaction prior to phase: RENDER_RESPONSE 6
      17:31:57,551 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) beginning JTA transaction
      17:31:57,551 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Beginning long-running conversation
      17:31:57,551 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) beginning pageflow: numberGuess
      17:31:57,551 DEBUG [org.jboss.seam.pageflow.Pageflow] (http-/127.0.0.1:8080-1) new pageflow instance for definition: numberGuess
      17:31:57,563 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] (http-/127.0.0.1:8080-1) committing transaction after phase: RENDER_RESPONSE 6
      17:31:57,563 DEBUG [org.jboss.seam.transaction.UTTransaction] (http-/127.0.0.1:8080-1) committing JTA transaction
      17:31:57,564 DEBUG [org.jboss.seam.core.Manager] (http-/127.0.0.1:8080-1) Storing conversation state: 8
      17:31:57,564 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) After render response, destroying contexts
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying business process context
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing server-side conversation context
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) flushing session context
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying event context
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.conversationPropagation
      17:31:57,564 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.transaction
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: com.sun.faces.context.ExternalContextFactoryImpl_KEY
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.manager
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.faces.validation
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.transaction.synchronizations
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.servletContexts
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestContextPath
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.core.events
      17:31:57,565 DEBUG [org.jboss.seam.contexts.Contexts] (http-/127.0.0.1:8080-1) destroying: org.jboss.seam.web.requestServletPath
      17:31:57,565 DEBUG [org.jboss.seam.contexts.FacesLifecycle] (http-/127.0.0.1:8080-1) <<< End JSF request for /seam-numberguess/numberGuess.seam
      17:32:12,380 INFO  [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011908: Unregister module: Module "deployment.seam-numberguess.ear.numberguess-ejb.jar:main" from Service Module Loader
      17:32:12,382 INFO  [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011908: Unregister module: Module "deployment.seam-numberguess.ear.jboss-seam.jar:main" from Service Module Loader
      17:32:12,396 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Pausing Coyote HTTP/1.1 on http-/127.0.0.1:8080
      17:32:12,410 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Stopping Coyote HTTP/1.1 on http-/127.0.0.1:8080
      

      (note that the problem is demonstrated in the numberguess example, which uses pageflow, but the problem can be reproduced even without pageflow)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  maschmid Marek Schmidt
                • Votes:
                  9 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: