[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

rtm333 do-not-reply at jboss.com
Fri Jan 12 06:59:09 EST 2007


I have raised the log level, not (yet) to TRACE, but to DEBUG. Even this revealed some additional clues:

Client side:


  | 11:52:30,669 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:30,669 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:30,669 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:30,669 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:30,669 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 53ecec
  | 11:52:30,685 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 53ecec
  | 11:52:31,169 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:31,169 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:31,169 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:31,169 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:31,169 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 10eb6ae
  | 11:52:31,185 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 10eb6ae
  | 11:52:32,670 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:32,670 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:32,670 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:32,670 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:32,670 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 1cba031
  | 11:52:33,373 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 1cba031
  | 11:52:33,373 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:33,373 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:33,373 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:33,373 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:33,373 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 1220575
  | 11:52:33,483 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 1220575
  | 11:52:34,670 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:34,670 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:34,670 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:34,670 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:34,670 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 12e712f
  | 11:52:35,936 ERROR [SocketClientInvoker] Got marshalling exception, exiting
  | 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:218)
  | 	at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
  | 	at java.io.FilterInputStream.read(FilterInputStream.java:66)
  | 	at org.jboss.serial.io.JBossObjectInputStream.read(JBossObjectInputStream.java:193)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:531)
  | 	at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:363)
  | 	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
  | 	at org.jboss.remoting.ConnectionValidator.checkConnection(ConnectionValidator.java:184)
  | 	at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:114)
  | 	at java.util.TimerThread.mainLoop(Timer.java:512)
  | 	at java.util.TimerThread.run(Timer.java:462)
  | 11:52:35,936 DEBUG [ConnectionValidator] ConnectionValidator could not successfully ping server (InvokerLocator [socket://xxx123:11107/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
  | 11:52:35,936 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 12e712f
  | 11:52:35,952 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:35,952 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:35,952 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:35,952 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:35,952 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 5ce0fe
  | 11:52:35,983 ERROR [ConnectionAspect] Caught exception from connection
  | java.lang.Exception: Could not connect to server.
  | 	at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:117)
  | 	at java.util.TimerThread.mainLoop(Timer.java:512)
  | 	at java.util.TimerThread.run(Timer.java:462)
  | E yyy123 instance_1 12.01.2007 11:52:35.983 TopicReceiver.onException: Received JMSException for priceTopic: Throwable received from underlying connection
  | 1 yyy123 instance_1 12.01.2007 11:52:36.046 javax.jms.JMSException: Throwable received from underlying connection (Stack Trace following)
  | javax.jms.JMSException: Throwable received from underlying connection
  | 	at org.jboss.jms.client.container.ConnectionAspect.handleConnectionException(ConnectionAspect.java:203)
  | 	at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:139)
  | 11:52:36,749 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at 5ce0fe
  | 11:52:37,952 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:37,952 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:37,952 DEBUG [MicroSocketClientInvoker] Setting ClientSocket class name to: org.jboss.jms.client.remoting.ClientSocketWrapper
  | 11:52:37,952 DEBUG [SocketClientInvoker] Setting SocketClientInvoker::timeout to: 1000
  | 11:52:37,952 DEBUG [MicroRemoteClientInvoker] connect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at cc8a48
  | 11:52:38,953 DEBUG [ConnectionValidator] ConnectionValidator could not successfully ping server (InvokerLocator [socket://xxx123:11107/?clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.server.remoting.JMSWireFormat&serializationtype=jboss&socket.check_connection=false&unmarshaller=org.jboss.jms.server.remoting.JMSWireFormat]
  | 11:52:38,953 DEBUG [MicroRemoteClientInvoker] disconnect called for: org.jboss.remoting.transport.socket.SocketClientInvoker at cc8a48
  | 11:52:38,953 ERROR [ConnectionAspect] Caught exception from connection
  | java.lang.Exception: Could not connect to server.
  | 	at org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:117)
  | 	at java.util.TimerThread.mainLoop(Timer.java:512)
  | 	at java.util.TimerThread.run(Timer.java:462)
  | E yyy123 instance_1 12.01.2007 11:52:38.953 TopicReceiver.onException: Received JMSException for paramTopic: Throwable received from underlying connection
  | 1 yyy123 instance_1 12.01.2007 11:52:39.000 javax.jms.JMSException: Throwable received from underlying connection (Stack Trace following)
  | javax.jms.JMSException: Throwable received from underlying connection
  | 	at org.jboss.jms.client.container.ConnectionAspect.handleConnectionException(ConnectionAspect.java:203)
  | 	at org.jboss.remoting.ConnectionValidator$1.run(ConnectionValidator.java:139)
  | 


Server side:

2007-01-12 11:53:13,834 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] Failed to accept socket connection
  | java.lang.reflect.InvocationTargetException
  |         at sun.reflect.GeneratedConstructorAccessor43.newInstance(Unknown Source)
  |         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  |         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  |         at org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:216)
  |         at org.jboss.remoting.transport.socket.ServerThread.wakeup(ServerThread.java:275)
  |         at org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:604)
  |         at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:515)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.net.SocketException: Connection reset
  |         at java.net.SocketInputStream.read(SocketInputStream.java:168)
  |         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  |         at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
  |         at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
  |         at java.io.FilterInputStream.read(FilterInputStream.java:90)
  |         at org.jboss.serial.io.JBossObjectInputStream.checkSignature(JBossObjectInputStream.java:110)
  |         at org.jboss.serial.io.JBossObjectInputStream.<init>(JBossObjectInputStream.java:94)
  |         at org.jboss.remoting.serialization.impl.jboss.JBossSerializationManager.createInput(JBossSerializationManager.java:59)
  |         at org.jboss.jms.server.remoting.ServerSocketWrapper.createInputStream(ServerSocketWrapper.java:110)
  |         at org.jboss.jms.client.remoting.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:116)
  |         at org.jboss.jms.client.remoting.ClientSocketWrapper.<init>(ClientSocketWrapper.java:67)
  |         at org.jboss.jms.server.remoting.ServerSocketWrapper.<init>(ServerSocketWrapper.java:64)
  |         ... 8 more
  | 



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

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



More information about the jboss-user mailing list