[jboss-user] [JBoss Messaging] - Broken Pipe exception when a JMS client reconnected to a durable subscription
Kim Truong
do-not-reply at jboss.com
Tue Jun 5 05:48:13 EDT 2012
Kim Truong [https://community.jboss.org/people/tdinhkim] created the discussion
"Broken Pipe exception when a JMS client reconnected to a durable subscription"
To view the discussion, visit: https://community.jboss.org/message/739877#739877
--------------------------------------------------------------
Hi,
When my JMS client reconnected to the durable subscription in JBoss, the server reported this exception
> 2012-06-05 10:07:37,961 ERROR [WorkerThread#3[192.168.99.87:4146]]-[org.jboss.remoting.transport.socket.ServerThread] WorkerThread#3[192.168.99.87:4146] failed
> java.io.IOException: Broken pipe
> at java.net.SocketOutputStream.socketWrite0(Native Method)
> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> at org.jboss.remoting.transport.socket.TimedOutputStream.write(TimedOutputStream.java:119)
> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
> at java.io.DataOutputStream.flush(DataOutputStream.java:106)
> at org.jboss.jms.wireformat.SessionAcknowledgeDeliveryResponse.write(SessionAcknowledgeDeliveryResponse.java:54)
> at org.jboss.jms.wireformat.JMSWireFormat.write(JMSWireFormat.java:237)
> at org.jboss.remoting.transport.socket.ServerThread.versionedWrite(ServerThread.java:1074)
> at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:830)
> at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
> at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
> at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
Before the client reconnected, the JMS topic contained 300 messages. When reconnect, the client can receive all 300 messages but the message count was not zero and I must reconnect the client one more time to cleanup it.
JBoss: 5.1.0 GA
JBM: 1.4.6 GA
Kim
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/739877#739877]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120605/00487adb/attachment-0001.html
More information about the jboss-user
mailing list