[jboss-remoting-commits] JBoss Remoting SVN: r5870 - remoting2/branches/2.2/src/main/org/jboss/remoting.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue Jun 15 15:10:28 EDT 2010


Author: ron.sigal at jboss.com
Date: 2010-06-15 15:10:28 -0400 (Tue, 15 Jun 2010)
New Revision: 5870

Modified:
   remoting2/branches/2.2/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.2/src/main/org/jboss/remoting/ServerInvoker.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java	2010-06-15 08:37:05 UTC (rev 5869)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/ServerInvoker.java	2010-06-15 19:10:28 UTC (rev 5870)
@@ -1199,6 +1199,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);



More information about the jboss-remoting-commits mailing list