stomp client disconnects from the ActiveMQ

View: New views
1 Messages — Rating Filter:   Alert me  

stomp client disconnects from the ActiveMQ

by leomayleomay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, guys,

I'm using stomp gem with ActiveMQ as the broker, recently I found my app doesn't work properly as usual.

  I turned on debugging on the ActiveMQ, and I got this from the log:

2008-12-24 03:37:30,092 [127.0.0.1:39746] DEBUG Transport - Transport failed: java.io.EOFException
   4815 java.io.EOFException
   4816   at java.io.DataInputStream.readByte(DataInputStream.java:250)
   4817   at org.apache.activemq.transport.stomp.StompWireFormat.readLine(StompWireFormat.java:186)
   4818   at org.apache.activemq.transport.stomp.StompWireFormat.unmarshal(StompWireFormat.java:94)
   4819   at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:210)
   4820   at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:202)
   4821   at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:185)
   4822   at java.lang.Thread.run(Thread.java:619)

  I googled around, and I found this: http://markmail.org/message/sqsbfpyj35pbxg5s , which is just the same problem with mine, it says it's because the client closed the socket, could someone please help to take a look into it? Thank you.

Regards,
Hao Liu