8 Replies Latest reply on Jul 7, 2006 9:59 AM by Frederico Augusto Costa

    Discarding conversation state

    Frederico Augusto Costa Newbie

      Hi,

      I just can't get my conversation propagated. I saw other topics at this forum but it was useless in my case.

      I just can't understand what is going wrong...

      I'm using SEAM 1.0.1, Jboss 4.0.4GA with jboss-EJB-3.0_RC8-FD.

      I have a Stateful bean as following:

      @Stateful
      @Name("pacienteEdition")
      @Scope(ScopeType.CONVERSATION)
      //@Conversational(ifNotBegunOutcome="main")
      @LoggedIn
      public class PacienteEditionAction implements PacienteEdition {
      
       @In
       private Usuario usuario = null;
      
       @In(required=false) @Out
       private Paciente paciente = null;
      
       @In
       private PacienteBusca pacienteBusca;
      
       @Begin
       public String selectedPaciente() {
       this.paciente = pacienteBusca.getSelectedPaciente();
       return "paciente";
       }
      ...
      


      pages.xml
      <pages>
       <page view-id="/paciente.xhtml">Edicao do paciente: #{paciente.nome}</page>
      </pages>


      My XHTML calls this bean by a <s:link>
      <h:column>
       <f:facet name="header">Options</f:facet>
       <s:link value="Editar" action="#{pacienteEdition.selectedPaciente}"/>
      </h:column>
      


      This is the only place where I start my conversation and call be pacienteEdition.

      The WS and aplication log:

      2006-06-26 18:47:37,933 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.core.Manager] No stored conversation
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(8)
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:37,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,012 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,027 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages
      2006-06-26 18:47:38,043 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: usuario
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: usuario
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversation
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversation
      2006-06-26 18:47:38,058 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: paciente
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: paciente
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,074 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: selectItems
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: selectItems
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: racaDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: sexoDao
      2006-06-26 18:47:38,090 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: profissaoDao
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: naturalidadeDao
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: escolaridadeDao
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationList
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 8
      2006-06-26 18:47:38,105 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: class org.apache.myfaces.renderkit.html.util.JavascriptUtils.OLD_VIEW_ID
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Contexts] destroying: conversation
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
      2006-06-26 18:47:38,277 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request