[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/bisocket ...
Ron Sigal
ron_sigal at yahoo.com
Wed Mar 14 02:15:41 EDT 2007
User: rsigal
Date: 07/03/14 02:15:41
Modified: src/main/org/jboss/remoting/transport/bisocket
BisocketServerInvoker.java
Log:
JBREM-725: ControlMonitorTimerTask uses reduced log levels if not running.
Revision Changes Path
1.12 +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.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- BisocketServerInvoker.java 14 Mar 2007 05:06:18 -0000 1.11
+++ BisocketServerInvoker.java 14 Mar 2007 06:15:41 -0000 1.12
@@ -58,7 +58,7 @@
/**
*
* @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* <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