1 Reply Latest reply on Oct 26, 2006 1:48 PM by Elias Ross

    java.io.IOException: Client is not connected

    Tharindu Jayasuriya Newbie

      Hi All,

      I have Three MDB's in my project. The message sending is done without any problem causing to application. But I receive following Exception. I want to know hoe to remove this. Any help is appriciated.

      ----------------------------------------------------------------------------------

      2006-10-26 10:52:08,938 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2006-10-26 10:52:08,938 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2006-10-26 10:52:08,948 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2006-10-26 10:52:08,948 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2006-10-26 10:52:08,948 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2006-10-26 10:52:08,948 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2006-10-26 10:52:08,978 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.CloseMsg4368209[msgType: m_connectionClosing, msgID: 624, error: null]
      java.io.IOException: Client is not connected
      at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
      at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:239)
      at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:128)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
      at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:534)
      2006-10-26 10:52:08,978 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to send error reply
      java.io.IOException: Client is not connected
      at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
      at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:52)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:409)
      at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
      at java.lang.Thread.run(Thread.java:534)
      2006-10-26 10:52:08,988 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
      java.net.SocketException: Socket closed
      at java.net.SocketInputStream.read(SocketInputStream.java:162)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
      at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317)
      at java.lang.Thread.run(Thread.java:534)
      2006-10-26 10:52:08,988 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
      2006-10-26 10:52:08,988 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run

      Regards,
      Tharindu