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

Tomcat 7 crash #33

Open
ruado1987 opened this issue Feb 28, 2013 · 2 comments
Open

Tomcat 7 crash #33

ruado1987 opened this issue Feb 28, 2013 · 2 comments

Comments

@ruado1987
Copy link

No idea why my application, which makes use of this plugin, is bringing down Tomcat (v7) whenever client-side javascript code sends push request to server-side event topic. I read some discussion on google group and someone suggested that increasing heap size of the jvm will sort out the problem but it doesnt work in my case. Has anyone encountered this issue?

BTW, here is an excerpt from the jvm dump file which indicates the culprit is Atmosphere but I have no idea to workaround this:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.apache.tomcat.jni.Socket.send(J[BII)I+0
j org.apache.coyote.http11.upgrade.UpgradeAprProcessor.write(I)V+14
j org.apache.coyote.http11.upgrade.UpgradeOutbound.write(I)V+5
j org.apache.catalina.websocket.WsOutbound.doWriteBytes(Ljava/nio/ByteBuffer;Z)V+45
j org.apache.catalina.websocket.WsOutbound.doWriteText(Ljava/nio/CharBuffer;Z)V+65
j org.apache.catalina.websocket.WsOutbound.writeTextMessage(Ljava/nio/CharBuffer;)V+44
j org.atmosphere.container.version.TomcatWebSocket.write(Lorg/atmosphere/cpr/AtmosphereResponse;Ljava/lang/String;)Lorg/atmosphere/websocket/WebSocket;+82
j org.atmosphere.container.version.TomcatWebSocket.write(Lorg/atmosphere/cpr/AtmosphereResponse;Ljava/lang/String;)Lorg/atmosphere/cpr/AsyncIOWriter;+3
j org.atmosphere.cpr.AtmosphereResponse$2.write(Ljava/lang/String;)V+43
j org.atmosphere.handler.AbstractReflectorAtmosphereHandler.onStateChange(Lorg/atmosphere/cpr/AtmosphereResourceEvent;)V+315
j org.atmosphere.cpr.DefaultBroadcaster.broadcast(Lorg/atmosphere/cpr/AtmosphereResource;Lorg/atmosphere/cpr/AtmosphereResourceEvent;)V+7
j org.atmosphere.cpr.DefaultBroadcaster.executeAsyncWrite(Lorg/atmosphere/cpr/DefaultBroadcaster$AsyncWriteToken;)V+270
j org.atmosphere.cpr.DefaultBroadcaster$3.run()V+88
j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4
j java.util.concurrent.FutureTask$Sync.innerRun()V+30
j java.util.concurrent.FutureTask.run()V+4
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11

@DrNorris
Copy link

Just want to say that I'm experiencing this as well, but don't have a fix for it.

@jfarcand
Copy link
Contributor

Try 7.0.50. If you still experiment an issue, file a bug in Tomcat, not here. A JVM crash is a Tomcat bug. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants