Details
- 
        Type:
 Task
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Fixed
 - 
            Affects Version/s: 2.0-Beta
 - 
            Fix Version/s: 2.0.1
 - 
            Component/s: Push Library
 - 
            Labels:None
 - 
            Environment:ICEfaces, Tomcat 7
 
Description
When ICEfaces is configured to use Servlet 3.0, the following Exception occurs with ICEpush:
Caused by: java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [DISPATCHED]
at org.apache.coyote.AsyncStateMachine.asyncComplete(AsyncStateMachine.java:186)
at org.apache.coyote.http11.Http11Processor.actionInternal(Http11Processor.java:506)
at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:809)
at org.apache.coyote.Request.action(Request.java:344)
at org.apache.catalina.core.AsyncContextImpl.complete(AsyncContextImpl.java:83)
at org.icepush.servlet.AsyncAdaptingServlet$AsyncRequestResponse.respondWith(AsyncAdaptingServlet.java:66)
at org.icepush.BlockingConnectionServer.respondIfPendingRequest(BlockingConnectionServer.java:196)
Looks like Tomcat 7 fails in the same way as GlassFish 3.0.1.