Community

How to set socket read timeout when calling EJB3 SSB method

created by Andrian Belinschi in JNDI and Naming - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JNDI and Naming at Community