Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure to suppres java.lang.IllegalStateException: The event object has been recycled and is no longer associated with a request #800

Closed
piperpilot opened this issue Jan 7, 2013 · 3 comments
Labels

Comments

@piperpilot
Copy link

The following error comes up frequently in my project. If this indeed is benign, we should be able to suppress this from the logs.

Jan 07, 2013 2:59:55 PM org.apache.coyote.AbstractProtocol$AbstractConnectionHandler process
SEVERE: Error reading request, ignored
java.lang.IllegalStateException: The event object has been recycled and is no longer associated with a request
    at org.apache.catalina.connector.CometEventImpl.close(CometEventImpl.java:93)
    at org.atmosphere.container.Tomcat7CometSupport.bz51881(Tomcat7CometSupport.java:175)
    at org.atmosphere.container.Tomcat7CometSupport.cancelled(Tomcat7CometSupport.java:209)
    at org.atmosphere.cpr.AsynchronousProcessor$AsynchronousProcessorHook.closed(AsynchronousProcessor.java:636)
    at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:257)
    at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:71)
    at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:215)
    at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:197)
    at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:161)
    at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:83)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:587)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
@jfarcand
Copy link
Member

jfarcand commented Jan 7, 2013

Which version of Tomcat are you using?

@piperpilot
Copy link
Author

7.0.33

Curtis Pope
Principal Engineer - Project NEE
cpope@vmware.com
(o) 813-290-9234
(c) 813-335-3623

----- Original Message -----

From: "Jeanfrancois Arcand" notifications@github.com
To: "Atmosphere/atmosphere" atmosphere@noreply.github.com
Cc: "Curtis Pope" cpope@vmware.com
Sent: Monday, January 7, 2013 11:16:34 AM
Subject: Re: [atmosphere] Configure to suppres java.lang.IllegalStateException: The event object has been recycled and is no longer associated with a request (#800)

Which version of Tomcat are you using?

Reply to this email directly or view it on GitHub .

jfarcand added a commit that referenced this issue Jan 7, 2013
@jfarcand
Copy link
Member

jfarcand commented Jan 7, 2013

OK the exception is from Tomcat itself...first I was under the impression it was from Atmosphere. Fixing it in 1.0.8, which will be released today or tomorrow. If you can download the 1.0.,8-SNAPSHOT and confirm. Thanks!

@jfarcand jfarcand closed this as completed Jan 7, 2013
jfarcand added a commit that referenced this issue Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants