Author: ron.sigal(a)jboss.com
Date: 2010-06-15 15:13:31 -0400 (Tue, 15 Jun 2010)
New Revision: 5871
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
Log:
JBREM-1229: Prints old and new locator when InvokerLocator.validateLocator() results in
changes.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2010-06-15
19:10:28 UTC (rev 5870)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/ServerInvoker.java 2010-06-15
19:13:31 UTC (rev 5871)
@@ -1160,6 +1160,10 @@
// need to check invoker locator to see if need to provide binding address (in the
case 0.0.0.0 was used)
InvokerLocator originalLocator = locator;
locator = InvokerLocator.validateLocator(locator);
+ if (!locator.getLocatorURI().equals(originalLocator.getLocatorURI())) {
+ log.debug(this + " original locator: " + originalLocator);
+ log.debug(this + " new locator: " + locator);
+ }
// need to update the locator key used in the invoker registry
InvokerRegistry.updateServerInvokerLocator(originalLocator, locator);
Show replies by date