Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-11231

Cannot flush conversation by simultaneous access of same session

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • EAP_EWP 5.2.0
    • Seam2
    • None
    • Red Hat JBoss Enterprise Application Platform 5.2.0

    • Hide

      It can be reproduced by the seam-booking and Jmeter.

      1. Modify below.

      jboss-eap-5.2/seam/examples/booking/resources/WEB-INF/pages.xml
      @@ -20,7 +20,7 @@
           </page>
       
           <page view-id="/home.xhtml" action="#{identity.isLoggedIn}">
      -
      +      <begin-conversation join="true"/>
               <navigation from-action="#{identity.isLoggedIn}">
                   <rule if-outcome="true">
                       <redirect view-id="/main.xhtml"/>
      
      jboss-eap-5.2/seam/examples/booking/resources/WEB-INF/components.xml
      @@ -10,7 +10,7 @@
                        http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd
                        http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">
       
      -    <core:init jndi-pattern="@jndiPattern@" debug="true" distributable="@distributable@"/>
      +    <core:init jndi-pattern="@jndiPattern@" debug="false" distributable="@distributable@"/>
       
           <core:manager conversation-timeout="120000"
                         concurrent-request-timeout="500"
      

      2. Deploy the seam-booking
      3. Execute the Jmeter with attached jmx file(sample.jmx).

      Show
      It can be reproduced by the seam-booking and Jmeter. 1. Modify below. jboss-eap-5.2/seam/examples/booking/resources/WEB-INF/pages.xml @@ -20,7 +20,7 @@ </page> <page view-id="/home.xhtml" action="#{identity.isLoggedIn}"> - + <begin-conversation join="true"/> <navigation from-action="#{identity.isLoggedIn}"> <rule if-outcome="true"> <redirect view-id="/main.xhtml"/> jboss-eap-5.2/seam/examples/booking/resources/WEB-INF/components.xml @@ -10,7 +10,7 @@ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"> - <core:init jndi-pattern="@jndiPattern@" debug="true" distributable="@distributable@"/> + <core:init jndi-pattern="@jndiPattern@" debug="false" distributable="@distributable@"/> <core:manager conversation-timeout="120000" concurrent-request-timeout="500" 2. Deploy the seam-booking 3. Execute the Jmeter with attached jmx file(sample.jmx).
    • NEW

      IllegalStateException occurs in conversation flush process by simultaneous access of the same session.

      ERROR [org.jboss.seam.jsf.SeamPhaseListener] (http-127.0.0.1-8080-8) swallowing exception
      java.lang.IllegalStateException: missing conversation entry
      	at org.jboss.seam.core.Conversation.flush(Conversation.java:143)
      	at org.jboss.seam.core.Manager.flushConversationMetadata(Manager.java:1051)
      	at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java:307)
      	at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:487)
      	at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:148)
      	at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:118)
      	at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
      	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      	at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)
      	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:373)
      	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)
      	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      	at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
      	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
      	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
      	at java.lang.Thread.run(Thread.java:745)
      

              mnovotny@redhat.com Marek Novotny
              rhn-support-enagai Eiichi Nagai (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: