Author: ron.sigal(a)jboss.com
Date: 2009-05-06 00:25:58 -0400 (Wed, 06 May 2009)
New Revision: 5138
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java
Log:
JBREM-1112 (and others to be named): WaitOnConnectionCheckTimerTask.run() immediately
cancels ConnectionValidator.run() when connection fails.
Modified:
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java
===================================================================
---
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java 2009-05-06
04:24:25 UTC (rev 5137)
+++
remoting2/branches/2.2.2-SP11_JBREM-1112/src/main/org/jboss/remoting/ConnectionValidator.java 2009-05-06
04:25:58 UTC (rev 5138)
@@ -839,6 +839,7 @@
log.debug(ConnectionValidator.this + "'s connection is
invalid");
// notifyListeners(new Exception("Could not connect to server!"));
+ ConnectionValidator.super.cancel();
if (stopLeaseOnFailure)
{
Show replies by date