JBoss Community

Re: How to configure method invocation timeout for a remote SFSB deployed in JBoss AS 7.1?

created by rafael castro in EJB3 - View the full discussion

Hi,

 

Apparently, I find out how to solve when a client hang up if lost connection with the host server for a remote invocation.  I missed out the part where describe how to configure the options for a connection in this tutorial https://docs.jboss.org/author/display/AS71/EJB+invocations+from+a+remote+client+using+JNDI; so, I added this property remote.connection.default.connect.options.org.jboss.remoting3.RemotingOptions.HEARTBEAT_INTERVAL, and did the test  scenario I described in the last post and it worked.

 

Before that, I tried with the timeout property for Jboss Remoting but I did not find if this property is still available in remoting3.

 

Thanks.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community