[jboss-user] [Remoting] - Re: connection validator

tom.elrod@jboss.com do-not-reply at jboss.com
Mon Jul 24 01:26:57 EDT 2006


ConnectionValidator is used to make a ping request on the server.  It is used in two scenarios.  The first is if register a connection listener with the client to be notified when a server has died.  The second is for a detector to check a suspected dead server is indeed dead.

There was a change made (see JBREM-530) so that when the connection validator made a call on the server, it would use a new thread to make this call and then if thread didn't return within some timeout (5 seconds), the connection check would return false.  Eventually the calling thread would timeout and exit.  This was originally done this way because didn't know which client invoker instance would be using and since might the same one that other clients where using, didn't want to change the config (i.e. make the timeout 1 second) since would impact the other clients.  However, have found a way around this so that can use a separate client invoker for making this call and still maintain all the config that might be needed to make the call, which is checked in (JBREM-555)



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

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



More information about the jboss-user mailing list