1 Reply Latest reply on Dec 9, 2002 7:59 AM by Olivier Martin

    org.jboss.mq.SpyJMSException: Connection Failed

    pradeep Newbie

      Hi,
      I am migrating my application from jboss2.2 to jboss3.0.4.
      The JMS part in my application throws the following exception.The following exception is thrown on the client window, when I run my application.Can any of you help me Where I have gone wrong.
      11:17:22,609 WARN [Connection] Connection failure:
      org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (org.jboss.
      mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.RemoteExceptio
      n: Cannot connect to the ConnectionReceiver/Server))
      at org.jboss.mq.Connection.asynchFailure(Connection.java:603)
      at org.jboss.mq.Connection$PingTask.run(Connection.java:1187)
      at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.
      java:364)

      The following exception is thrown on server console:

      11:17:22,406 ERROR [OILClientIL] Cannot connect to the ConnectionReceiver/Server

      java.net.SocketException: Option unsupported by protocol: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:323)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:136)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:123)
      at java.net.Socket.(Socket.java:273)
      at java.net.Socket.(Socket.java:127)
      at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175
      )
      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:860)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterce
      ptorSupport.java:308)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:6
      45)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.
      java:324)
      at java.lang.Thread.run(Thread.java:484)
      11:17:22,421 WARN [OILServerILService] Client request resulted in a server exce
      ption:
      org.jboss.mq.SpyJMSException: Could not pong; - nested throwable: (java.rmi.Remo
      teException: Cannot connect to the ConnectionReceiver/Server)
      at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.
      java:864)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterce
      ptorSupport.java:308)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:6
      45)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.
      java:324)
      at java.lang.Thread.run(Thread.java:484)
      + nested throwable:
      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:860)
      at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterce
      ptorSupport.java:308)
      at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:6
      45)
      at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.
      java:324)

      Thanks and regards
      Deepoo