1 Reply Latest reply on Jun 22, 2007 12:07 PM by Adrian Brock

    java.net.SocketException: socket closed

    tkvarenes Newbie

      Every 30 sec we get an exception in the JBoss log:

      2007-06-22 14:51:21,206 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 35s:924ms
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2007-06-22 14:51:33,081 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2007-06-22 14:51:33,097 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
      2007-06-22 14:51:33,097 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:290)
      at java.lang.Thread.run(Thread.java:534)
      2007-06-22 14:51:33,097 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
      2007-06-22 14:52:03,098 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
      2007-06-22 14:52:03,129 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run
      2007-06-22 14:52:03,129 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:290)
      at java.lang.Thread.run(Thread.java:534)
      2007-06-22 14:52:03,129 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run
      2007-06-22 14:52:33,115 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run
      2007-06-22 14:52:33,115 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run
      2007-06-22 14:52:33,115 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
      2007-06-22 14:52:33,115 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream


      What might be the problem?