1 Reply Latest reply on Dec 16, 2005 1:54 PM by Elias Ross

    org.jboss.mq.SpyJMSException: Could not pong

    Sucheta Karandikar Newbie

      I am using JBOSS 2.6 and since my server is in a sensitive area I have enabled TCP/IP filtering. But since JBOSS uses certain ports to communicate I have specified, ports for the OIL and UIL service to use. Having done that, when I enable TCP/IP filtering such that I prevent UDP, all protocols, and all ports except for the one that I have specified for the OIL and UIL service, I see the following exception:

      <O,12/15/05 12:59:31 GMT+08:00,OILServerILService> Client request resulted in a server exception:
      org.jboss.mq.SpyJMSException: Could not pong
      at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      at java.lang.Thread.run(Thread.java:536)
      linked exception is:
      java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116)
      at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98)
      at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156)
      at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      at java.lang.Thread.run(Thread.java:536)
      <N,12/15/05 12:59:31 GMT+08:00,Connection> JBossMQ Connection failure:
      org.jboss.mq.SpyJMSException: Connection Failed
      at org.jboss.mq.Connection.asynchFailure(Connection.java:475)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:926)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      at java.lang.Thread.run(Thread.java:536)
      linked exception is:
      org.jboss.mq.SpyJMSException: Could not pong
      at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      at java.lang.Thread.run(Thread.java:536)
      linked exception is:
      java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116)
      at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98)
      at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156)
      at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598)
      at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> org.jboss.mq.SpyJMSException: Connection Failed
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.Connection.asynchFailure(Connection.java:475)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.Connection$PingTask.run(Connection.java:926)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> linked exception is:
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> org.jboss.mq.SpyJMSException: Could not pong
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> linked exception is:
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> linked exception is:
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> org.jboss.mq.SpyJMSException: Could not pong
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.server.JMSServer.ping(JMSServer.java:602)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> linked exception is:
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> linked exception is:
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:116)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:98)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:156)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.server.JMSServer.ping(JMSServer.java:598)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:316)
      <O,12/15/05 12:59:31 GMT+08:00,STDERR> at java.lang.Thread.run(Thread.java:536)

      I also noticed that even if I specify a port for JMS, it does not use that port. It uses a random port.

      Any help would be appreciated.