0 Replies Latest reply on Feb 16, 2014 10:33 AM by Vibhor Rawat

    Could any body please explain why and when i encountered this exception: "java.io.IOException: Client is not connected"

    Vibhor Rawat Newbie

      Hi All,

       

      Could any body please explain why and when i encountered this exception: "java.io.IOException: Client is not connected". Below is the stack trace with i got with the exception:

       

      org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: ; - nested throwable: (java.io.IOException: Client is not connected)

        at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72)

        at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:57)

        at org.jboss.mq.Connection.addConsumer(Connection.java:800)

        at org.jboss.mq.SpySession.addConsumer(SpySession.java:947)

        at org.jboss.mq.SpySession.createSubscriber(SpySession.java:710)

        at org.jboss.mq.SpySession.createSubscriber(SpySession.java:699)

        at com.egain.platform.framework.event.Messenger.getTopicSubscriber(Messenger.java:1303)

        at com.egain.platform.framework.event.Messenger.subscribe(Messenger.java:490)

        at com.egain.platform.framework.event.Messenger.resubscribe(Messenger.java:558)

        at com.egain.platform.module.routing.service.bprules.BPRulesProcess.onException(BPRulesProcess.java:991)

        at com.egain.platform.framework.event.Messenger$ConnectionExceptionListener.invokeTopicListeners(Messenger.java:1656)

        at com.egain.platform.framework.event.Messenger$ConnectionExceptionListener.onException(Messenger.java:1603)

        at org.jboss.mq.Connection$ExceptionListenerRunnable.run(Connection.java:1356)

        at java.lang.Thread.run(Thread.java:662)

      Caused by: java.io.IOException: Client is not connected

        at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:288)

        at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:244)

        at org.jboss.mq.il.uil2.UILServerIL.subscribe(UILServerIL.java:361)

        at org.jboss.mq.Connection.addConsumer(Connection.java:791)

        ... 11 more

       

      Kindly guide me through this with appropriate insight on this issue.