[jboss-user] [Remoting] - timeout specification

login4jbr do-not-reply at jboss.com
Tue Mar 13 16:12:51 EDT 2007


Hi!

Consider a client-server application using socket transport.

the client side app is in a machine called CM
the server side app is in a machine called SM

Suppose that the machine SM is not accessible (is turned off or IP address is wrong or network cable is disconnected, etc.).

You launch the client side and:
The Client object is created and the connect() method succeeds. why?
And when you call the invoke() method it get stuck for long time (10 min aprox).

How can limit this waiting time (may be some kind of timeout)?

When you do a remote call, how do you specify a timeout?

In other words.

I do a remote call and want to specify how long must wait until the call throws the exception.

Thank you very much.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027673#4027673

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027673



More information about the jboss-user mailing list