[jboss-user] [Messaging, JMS & JBossMQ] - org.jboss.mq.SpyJMSException: Cannot send a message to the J

pascallambert do-not-reply at jboss.com
Thu Feb 15 18:17:08 EST 2007


We've got the following error after running our apps for a day doing load testing with the JMS server.
My suspicion is that the server got loaded (we're using PostgreSQL to store the message on the same server) and was to busy to respond the request.
But the funny thing is that we never got onException() been invoke from the topic connection.
Any idea why?

JBOSS AS 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) on Windows 2000.

2007-Feb-15 00:36:39 ERROR: Unable to publish global notification
org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested throwable: (java.net.SocketTimeoutException: Read timed out)
	at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78)
	at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63)
	at org.jboss.mq.Connection.sendToServer(Connection.java:922)
	at org.jboss.mq.SpySession.sendMessage(SpySession.java:924)
	at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:272)
	at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:219)
	at org.jboss.mq.SpyTopicPublisher.publish(SpyTopicPublisher.java:67)
	at 
com.wmx.messaging.publishers.DataPublisher.publishMessage(DataPublisher.java:60)
(i've skip the whole stack trace ........)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:129)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
	at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
	at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2316)
	at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
	at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
	at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2604)
	at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
	at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317)
	... 1 more


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017295#4017295

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017295



More information about the jboss-user mailing list