1 Reply Latest reply on Nov 20, 2014 7:21 AM by Abdeltif Nouqrat

    async Servlet 3.0 with JBOSS6.1.0.Final : invalid async context for servlet ...

    Abdeltif Nouqrat Newbie

      Hi all.

      I have implemented a web-app which contains an async servlet using Servlet 3.0 API and JBOSS6.1.0.Final version.

      Via longpolling/server-push, the client (jsp) is informed about changes on the server.

      Sometimes, the exception "java.lang.IllegalStateException: invalid async context for Servlet " occurs.

       

      What is generally the cause of such an exception ?

      How can I avoid this AsyncContext's invalid state ?

       

      I'll very appreciate any feedback.

      Thanks in advance.