[jboss-user] [Remoting] - Re: Socket Invoker timeout
do-not-reply at jboss.com
Fri Jan 2 23:19:45 EST 2009
mohitanchlia" wrote :
| What does timeout 5000 mean?
On the server side, an "active" worker thread (one not in the thread pool waiting to get reused) waits in a socket read() for the next invocation. It will time out after 5 seconds and the worker thread will return itself to the thread pool.
On the client side, the invoker enters read() to get the answer to an invocation. It will time out after 5 seconds, close the connection, and throw an exception.
The call to java.net.Socket.connect(SocketAddress endpoint), which is the overloaded version of connect() used in org.jboss.remoting.transport.socket.MicroSocketClientInvoker, does not time out.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199291#4199291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199291
More information about the jboss-user