1 Reply Latest reply on Sep 23, 2010 5:49 PM by Andrian Belinschi

    How to set socket read timeout when calling EJB3 SSB method

    Andrian Belinschi Newbie



      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.