1 Reply Latest reply on Dec 11, 2003 6:34 PM by davidkarlsen

    Loosing JMS connections (could not pong)

    davidkarlsen Newbie

      Under 3.2.2 everything worked fine.
      After upgrading to 3.2.3 the ping'ing seems broken:

      ???

      0 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - Extracting SpyConnectionFactory from reference130 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - The GenericConnectionFactory is: GenericConnectionFactory:[server=org.jboss.mq.il.oil.OILServerIL@67064,connectionProperties={OIL_TCPNODELAY_KEY=yes, PingPeriod=60000, OIL_PORT_KEY=8090, ClientILService=org.jboss.mq.il.oil.OILClientILService, OIL_ADDRESS_KEY=192.168.3.50}]162 [main] DEBUG org.jboss.mq.Connection - Setting the clockDaemon's thread factory171 [main] TRACE org.jboss.mq.Connection - Connection Initializing172 [main] TRACE org.jboss.mq.Connection - Getting the serverIL173 [main] TRACE org.jboss.mq.Connection - serverIL=org.jboss.mq.il.oil.OILServerIL@16c79d7174 [main] TRACE org.jboss.mq.Connection - Authenticating175 [main] TRACE org.jboss.mq.Connection - Authenticating user null176 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting to : skunk.davidkarlsen.com/192.168.3.50:8090178 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting with addr=skunk.davidkarlsen.com/192.168.3.50, port=8090, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@16c9867182 [main] TRACE org.jboss.mq.Connection - Starting the clientIL service191 [main] DEBUG org.jboss.mq.GenericConnectionFactory - Handing out ClientIL: org.jboss.mq.il.oil.OILClientILService193 [OILClientILService-0] DEBUG org.jboss.mq.il.oil.OILClientILService - Waiting for the server to connect to me on port 38590223 [main] TRACE org.jboss.mq.Connection - Connection establishment successful224 [main] TRACE org.jboss.mq.Connection - Checking clientID :null229 [Connection Monitor Thread] TRACE org.jboss.mq.Connection - PING233 [main] TRACE org.jboss.mq.Connection - Connection establishment successful312 [main] DEBUG org.jboss.mq.referenceable.SpyDestinationObjectFactory - SpyDestinationObjectFactory->getObjectInstance()380 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.parentTraceEnabled=true385 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.nestedTraceEnabled=false401 [main] WARN com.edb.itdrift.app.logstreamerapp.LogStreamer - File does not exist: FILENAME2 (No such file or directory)java.io.FileNotFoundException: FILENAME2 (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at java.io.FileReader.(FileReader.java:55)
      at com.edb.itdrift.app.logstreamerapp.Reader.(Reader.java:23)
      at com.edb.itdrift.app.logstreamerapp.FileParseLog.(FileParseLog.java:34)
      at com.edb.itdrift.app.logstreamerapp.LogStreamer.(LogStreamer.java:39)
      at com.edb.itdrift.app.logstreamerapp.LogStreamer.main(LogStreamer.java:66)
      417 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.detectDuplicateNesting=true418 [Connection Monitor Thread] WARN org.jboss.util.NestedThrowable - Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSException422 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:840)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:309)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:859)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:325)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183)
      at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
      at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:836)
      ... 5 more
      60274 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: ping timeout.
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1303)
      ... 2 more

      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.(FileInputStream.java:106)
      at java.io.FileReader.(FileReader.java:55)
      at com.edb.itdrift.app.logstreamerapp.Reader.(Reader.java:23)
      at com.edb.itdrift.app.logstreamerapp.FileParseLog.(FileParseLog.java:34)
      at com.edb.itdrift.app.logstreamerapp.LogStreamer.(LogStreamer.java:39)
      at com.edb.itdrift.app.logstreamerapp.LogStreamer.main(LogStreamer.java:66)
      417 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.detectDuplicateNesting=true418 [Connection Monitor Thread] WARN org.jboss.util.NestedThrowable - Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSException422 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:840)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:309)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:859)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:325)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183)
      at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
      at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:836)
      ... 5 more
      60274 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.)
      at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: ping timeout.
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1303)
      ... 2 more

        • 1. Re: Loosing JMS connections (could not pong)
          davidkarlsen Newbie

          Sorry, wrong stackdump.
          Repost:

          After upgrading to 3.2.2 I get could not pong exceptions:
          why??


          1 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - Extracting SpyConnectionFactory from reference49 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - The GenericConnectionFactory is: GenericConnectionFactory:[server=org.jboss.mq.il.oil.OILServerIL@67064,connectionProperties={OIL_TCPNODELAY_KEY=yes, PingPeriod=60000, OIL_PORT_KEY=8090, ClientILService=org.jboss.mq.il.oil.OILClientILService, OIL_ADDRESS_KEY=192.168.3.50}]305 [main] DEBUG org.jboss.mq.Connection - Setting the clockDaemon's thread factory313 [main] TRACE org.jboss.mq.Connection - Connection Initializing314 [main] TRACE org.jboss.mq.Connection - Getting the serverIL315 [main] TRACE org.jboss.mq.Connection - serverIL=org.jboss.mq.il.oil.OILServerIL@16c79d7317 [main] TRACE org.jboss.mq.Connection - Authenticating318 [main] TRACE org.jboss.mq.Connection - Authenticating user null319 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting to : skunk.davidkarlsen.com/192.168.3.50:8090321 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting with addr=skunk.davidkarlsen.com/192.168.3.50, port=8090, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@16c9867557 [main] TRACE org.jboss.mq.Connection - Starting the clientIL service565 [main] DEBUG org.jboss.mq.GenericConnectionFactory - Handing out ClientIL: org.jboss.mq.il.oil.OILClientILService599 [OILClientILService-0] DEBUG org.jboss.mq.il.oil.OILClientILService - Waiting for the server to connect to me on port 39161608 [main] TRACE org.jboss.mq.Connection - Connection establishment successful609 [main] TRACE org.jboss.mq.Connection - Checking clientID :null614 [Connection Monitor Thread] TRACE org.jboss.mq.Connection - PING615 [main] TRACE org.jboss.mq.Connection - Connection establishment successful729 [main] DEBUG org.jboss.mq.referenceable.SpyDestinationObjectFactory - SpyDestinationObjectFactory->getObjectInstance()818 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.parentTraceEnabled=true820 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.nestedTraceEnabled=false822 [Connection Monitor Thread] DEBUG org.jboss.util.NestedThrowable - org.jboss.util.NestedThrowable.detectDuplicateNesting=true823 [Connection Monitor Thread] WARN org.jboss.util.NestedThrowable - Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSException826 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server)
          at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:840)
          at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:309)
          at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:859)
          at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)
          at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:325)
          at java.lang.Thread.run(Thread.java:534)
          Caused by: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
          at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183)
          at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
          at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
          at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:836)
          ... 5 more
          836 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - Extracting SpyConnectionFactory from reference935 [main] DEBUG org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory - The GenericConnectionFactory is: GenericConnectionFactory:[server=org.jboss.mq.il.oil.OILServerIL@1829e6f,connectionProperties={OIL_TCPNODELAY_KEY=yes, PingPeriod=60000, OIL_PORT_KEY=8090, ClientILService=org.jboss.mq.il.oil.OILClientILService, OIL_ADDRESS_KEY=192.168.3.50}]937 [main] TRACE org.jboss.mq.Connection - Connection Initializing938 [main] TRACE org.jboss.mq.Connection - Getting the serverIL938 [main] TRACE org.jboss.mq.Connection - serverIL=org.jboss.mq.il.oil.OILServerIL@6fa9fc939 [main] TRACE org.jboss.mq.Connection - Authenticating940 [main] TRACE org.jboss.mq.Connection - Authenticating user null941 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting to : skunk.davidkarlsen.com/192.168.3.50:8090942 [main] TRACE org.jboss.mq.il.oil.OILServerIL - Connecting with addr=skunk.davidkarlsen.com/192.168.3.50, port=8090, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@16c9867963 [main] TRACE org.jboss.mq.Connection - Starting the clientIL service965 [main] DEBUG org.jboss.mq.GenericConnectionFactory - Handing out ClientIL: org.jboss.mq.il.oil.OILClientILService982 [OILClientILService-1] DEBUG org.jboss.mq.il.oil.OILClientILService - Waiting for the server to connect to me on port 39163983 [Connection Monitor Thread] TRACE org.jboss.mq.Connection - PING988 [main] TRACE org.jboss.mq.Connection - Connection establishment successful990 [main] TRACE org.jboss.mq.Connection - Checking clientID :null996 [Connection Monitor Thread] WARN org.jboss.util.NestedThrowable - Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSException997 [Connection Monitor Thread] WARN org.jboss.mq.Connection - Connection failure: org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server)
          at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:840)
          at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:309)
          at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:859)
          at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:309)
          at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:325)
          at java.lang.Thread.run(Thread.java:534)
          Caused by: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
          at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183)
          at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
          at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
          at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:836)
          ... 5 more
          1002 [main] TRACE org.jboss.mq.Connection - Connection establishment successful1008 [main] DEBUG org.jboss.mq.referenceable.SpyDestinationObjectFactory - SpyDestinationObjectFactory->getObjectInstance()