[jboss-cvs] JBossAS SVN: r83512 - branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/ha/framework/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 27 13:31:04 EST 2009


Author: galder.zamarreno at jboss.com
Date: 2009-01-27 13:31:04 -0500 (Tue, 27 Jan 2009)
New Revision: 83512

Modified:
   branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
Log:
[JBPAPP-1660] Change debug to warn for the message indicating that host based UID strategy was used for defining a node GUID for the cluster.

Modified: branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java	2009-01-27 18:23:47 UTC (rev 83511)
+++ branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java	2009-01-27 18:31:04 UTC (rev 83512)
@@ -61,6 +61,7 @@
  *
  *   @author <a href="mailto:bill at burkecentral.com">Bill Burke</a>.
  *   @author <a href="mailto:sacha.labourey at cogito-info.ch">Sacha Labourey</a>.
+ *   @author <a href="mailto:galder.zamarreno at jboss.com">Galder Zamarreno</a>
  *   @version $Revision$
  */
 public class ClusterPartition
@@ -471,19 +472,20 @@
          }
          else
          {
-            log.debug("JNDI has been found but the service wasn't started so we cannot " +
-                      "be entirely sure we are the only one that wants to use this PORT " +
-                      "as a GUID on this host.");
+            log.warn ("JNDI has been found but the service wasn't started. Most likely, " +
+                  "ClusterPartition MBean is missing dependency on JBoss Naming. " +
+                  "Instead using host based UID strategy for defining a node " +
+                  "GUID for the cluster.");
          }
 
       }
       catch (InstanceNotFoundException e)
       {
-         log.debug ("JNDI not running here, cannot use this strategy to find a node GUID for the cluster");
+         log.info ("JNDI is not running here, cannot use the JNDI port strategy for defining a node GUID for the cluster"); 
       }
       catch (ReflectionException e)
       {
-         log.debug ("JNDI querying has returned an exception, cannot use this strategy to find a node GUID for the cluster");
+         log.warn ("JNDI querying has returned an exception, cannot use the JNDI port strategy to find a node GUID for the cluster");
       }
 
       // 2nd: host-GUID strategy




More information about the jboss-cvs-commits mailing list