[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/bisocket ...
Ron Sigal
ron_sigal at yahoo.com
Wed Mar 14 02:15:42 EDT 2007
User: rsigal
Date: 07/03/14 02:15:42
Modified: src/main/org/jboss/remoting/transport/bisocket Tag:
remoting_2_x BisocketServerInvoker.java
Log:
JBREM-725: ControlMonitorTimerTask uses reduced log levels if not running.
Revision Changes Path
No revision
No revision
1.1.2.16 +21 -5 JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BisocketServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/bisocket/BisocketServerInvoker.java,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -u -b -r1.1.2.15 -r1.1.2.16
--- BisocketServerInvoker.java 14 Mar 2007 05:06:25 -0000 1.1.2.15
+++ BisocketServerInvoker.java 14 Mar 2007 06:15:42 -0000 1.1.2.16
@@ -58,7 +58,7 @@
/**
*
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.1.2.15 $
+ * @version $Revision: 1.1.2.16 $
* <p>
* Copyright Nov 23, 2006
* </p>
@@ -874,14 +874,30 @@
}
catch (ClientUnavailableException e)
{
+ if (running)
+ {
Object locator = listenerIdToInvokerLocatorMap.get(t.getListenerId());
log.warn("Unable to recreate control connection: " + locator);
}
+ else
+ {
+ Object locator = listenerIdToInvokerLocatorMap.get(t.getListenerId());
+ log.debug("Unable to recreate control connection: " + locator);
+ }
+ }
catch (IOException e)
{
+ if (running)
+ {
Object locator = listenerIdToInvokerLocatorMap.get(t.getListenerId());
log.error("Unable to recreate control connection: " + locator, e);
}
+ else
+ {
+ Object locator = listenerIdToInvokerLocatorMap.get(t.getListenerId());
+ log.debug("Unable to recreate control connection: " + locator);
+ }
+ }
}
}
};
More information about the jboss-cvs-commits
mailing list