2 Replies Latest reply on Dec 24, 2005 2:09 PM by starksm64

    spurious socket timed out exceptions in log

    dpocock


      I make calls to a stateless session bean in Jboss 4.0.3.

      The calls are made from a client running on a separate host. Iuse a remote interface.

      If the client doesn't make any calls for more than 60 seconds, then the exception below appears in the JBoss console.

      Should I be releasing my reference to the SLSB if I am not going to use it again for another 60 seconds?

      14:53:37,638 ERROR [ServerThread] socket timed out
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864)
      at org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54)
      at org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)