[jboss-user] [JNDI and Naming] - How to set socket read timeout when calling EJB3 SSB method

Andrian Belinschi do-not-reply at jboss.com
Tue May 4 01:32:18 EDT 2010


Andrian Belinschi [http://community.jboss.org/people/abelinschi] created the discussion

"How to set socket read timeout when calling EJB3 SSB method"

To view the discussion, visit: http://community.jboss.org/message/540916#540916

--------------------------------------------------------------
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
[http://community.jboss.org/message/540916#540916]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100504/42e60929/attachment.html 


More information about the jboss-user mailing list