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.
any help ?
I was perhaps unclear with my question ?
I'll will appreciate any helpful feedbacks.
Tanks in advance.