Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-205

Invalid async context for servlet: Atmosphere Async Servlet on JBoss Web

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: JBossWeb-7.0.0.CR1
    • Fix Version/s: JBossWeb-7.0.1.GA
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Firefox 4.0.1 / Chromium 12
      AS 6.0.0.Final / 6.1.0-SNAPSHOT / AS 7.0.0.CR1
      Atmosphere 0.7.1/0.7.2

      Description

      Source of sample for reproduction:
      https://github.com/lfryc/push-jms/commit/9cee160570e049ca4783e1fcbdac25ffef1b10b7

      16:08:28,467 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http-localhost-127.0.0.1-8080-7) An exception or error occurred in the container during the request processing: java.lang.IllegalStateException: Invalid async context for servlet AutoRegisteredPushServlet
      	at org.apache.catalina.core.StandardWrapperValve.async(StandardWrapperValve.java:643) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.core.StandardWrapperValve.event(StandardWrapperValve.java:402) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.core.StandardContextValve.event(StandardContextValve.java:183) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.core.StandardHostValve.event(StandardHostValve.java:246) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.valves.ValveBase.event(ValveBase.java:193) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.core.StandardEngineValve.event(StandardEngineValve.java:128) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:265) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.coyote.http11.Http11Processor.event(Http11Processor.java:757) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.event(Http11Protocol.java:615) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:938) [jbossweb-7.0.0.CR4.jar:7.0.0.CR1]
      	at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rmaucher Valued Customer
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: