Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2576

WELD-000321: No conversation found to restore for id 1

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • Unscheduled
    • GlassFish Integration
    • None

    Description

      I am hitting the following error when the http session is timeout and ViewExpiredException happen and dispatch to the errorpage in GF4 or GF5.

      org.jboss.weld.context.NonexistentConversationException: WELD-000321: No conversation found to restore for id 1
      at org.jboss.weld.context.AbstractConversationContext.initialize(AbstractConversationContext.java:259)
      at org.jboss.weld.context.http.LazyHttpConversationContextImpl.initialize(LazyHttpConversationContextImpl.java:90)
      at org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:234)
      at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:118)
      at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:85)
      at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
      at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
      at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:876)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:739)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:577)
      at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:546)
      at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:428)
      at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:505)
      at org.apache.catalina.core.StandardHostValve.dispatchToErrorPage(StandardHostValve.java:699)
      at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:306)

      I can't resolve the problem even if set the "conversationPropagation=none" as the following:

      <error-page>
      <exception-type>javax.faces.application.ViewExpiredException</exception-type>
      <location>/errorpage.xhtml?conversationPropagation=none</location>
      </error-page>

      Does anyone know the solution?

      Steps to reproduce:
      1.unzip and deploy the attached app
      2.http://localhost:28080/jsfConversationNone/index.xhtml
      3.click at the button "go to the page1 and conversation start"
      4.waiting for the timeout(1 minutes)
      5.click at the button "Go to Page2"

      Attachments

        Activity

          People

            Unassigned Unassigned
            caiming_ cai ming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: