Hi,
I am running JBoss AS 5.1.0 multiple instances. I have exposed methods in EJB3 Stateless Session Beans for remote invocation.
A client application 'A' running under one JBoss instance is making JNDI lookup and calls the SSB remote exposed method on JBoss instance running application 'B'.
I am looking for a way to set socket timeout on the connection so that if the application B is down or it takes longer to respond, the call will not block indefinately.
Is there a way to set read timeout for remote method invocations in JBoss AS 5.1.0 ?
Any input appreciated.
Here is the change that worked:
Updated deploy/ejb3-connectors-jboss-beans.xml for the following change:
</parameter>
<parameter>socket://${jboss.bind.address}:${port}/?timeout=300000</parameter>
<parameter>