1 Reply Latest reply on Dec 5, 2007 9:48 AM by jaikiran pai

    Exiting on IOE -  java.net.SocketException: socket closed

    Thiy Aster Newbie

      Hi All,

      Im getting Exiting on IOE - java.net.SocketException: socket closed when my Application is consuming/sending msg to JMS queue.


      The log is as follows:

      2007-12-05 16:15:18,736 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
      java.net.SocketException: socket closed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      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:67)
      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:279)
      at java.lang.Thread.run(Thread.java:534)
      2007-12-05 16:15:18,736 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
      2007-12-05 16:15:18,736 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2007-12-05 16:15:38,094 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
      2007-12-05 16:15:48,131 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE
      java.net.SocketException: socket closed


      Im getting this logs continuously. at the time when my application send or receive msg to/from JMS.
      I had already saw here the similar thread, but coudn't fid a proper solution for that.


      Thanks
      Thiyaster.