Hi,

We have developed a web-based application that communicates with back-end
servers. Server-Push is an important requirement of the application, and we
are using CometD for this purpose. We are using the "async" support in
Tomcat 7.0 for scalability. We are running the application in Tomcat 7.0.29
under RHEL.

The application has been coming along nicely when used by a small number of
users: ~ 5. With a larger number (~ 25) of clients, however, we have
started to see issues where Tomcat suddenly becomes unresponsive. I have
been seeing one exception repeated over and over, which seems to be the
culprit. Unfortunately, my searches haven't pointed me to anything useful
yet. I'm hoping someone here has seen this issue, and can point me in the
right direction.


Jan 14, 2013 9:56:44 PM
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler process
SEVERE: null
java.lang.IllegalStateException: Calling [asyncPostProcess()] is not valid
for a request with Async state [STARTED]
at
org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:202)
at
org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:116)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Any help appreciated.

Satyen

Reply via email to