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)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909556#3909556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909556


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to