[jboss-user] [Remoting] - Socket Timeout?

klester do-not-reply at jboss.com
Fri Mar 13 16:24:03 EDT 2009


Is there a property that can be set for JBoss remoting that will set a socket response timeout in a way similar to the "sun.rmi.transport.tcp.responseTimeout"property for Sun's rmi implementation?  Basically we would like to time out a socket connection if it takes too long to complete.

We are using JBoss AS 4.0.5, and we have recently seen an issue where client's threads get  stuck communicating with the server (due to OutOfMemory errors) while invoking a remote EJB.  To prevent this from occurring again, we would like to enforce a timeout for all communication between the client and the server.

Is there a way to time out a connection in JBoss if it takes too long?  Unfortunately, the "jnp.sotimeout" and the "jnp.timeout" properties do not do this.

Thanks in advance.


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

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



More information about the jboss-user mailing list