What should happen (at least with 2.2.0 code) is when a server is killed while 
processing a client invocatoin, the client will get a connection reset 
exception (is a SocketException that is actually thrown internally).  
Internally, remoting client catches that SocketException and re-tries the 
invocation (several times).  I think the delay you are seeing is due to the 
number of times it retries along with the amount of time it takes for the 
connection timeout to kick in (i.e. timeout * numberOfRetries * 
numberOfCallRetries).  

If want immediate failure, can set numberOfRetries and numberOfCallRetries  to 
0 (see http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html#d0e1088).



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030784
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to