2 Replies Latest reply on Jul 23, 2003 7:30 PM by Michael Kerry

    ConnectionReceiver/Server Exception

    eblis Newbie

      hi,
      i am getting [org.jboss.mq.il.oil.OILClientIL] Cannot
      connect to the ConnectionReceiver/Server in message queue.
      the configuration i am using is
      i have one remote message queue server and another sever hosting the MDB's.when i send large number of messages (1000) to the message queue they are correctly picked up by the mdb but when that mdb tries to send ack mesg back to the message queue i start getting following errors after message receive sending (900 approx) messages.

      <------------------------------------------------------------------
      2003-07-17 12:10:20,266 ERROR [org.jboss.mq.il.oil.OILClientIL] Cannot
      connect to the ConnectionReceiver/Server
      java.net.ConnectException: Connection timed out
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at
      java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:426)
      at java.net.Socket.connect(Socket.java:376)
      at java.net.Socket.(Socket.java:291)
      at java.net.Socket.(Socket.java:147)
      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:834)
      at
      org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:308)
      at
      org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:711)
      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:536)
      2003-07-17 12:10:20,278 WARN [org.jboss.mq.il.oil.OILServerILService]
      Client request resulted in a server exception:
      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:838)
      at
      org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:308)
      at
      org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:711)
      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:536)
      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:834)
      ... 5 more

      <------------------------------------------------------------------

      any idea how can i prevent this exception from happening. this problem ispartially resolved when i messages are picked up from the queue using more two or listeners.

      thanks in advance.