[jboss-cvs] JBossAS SVN: r112191 - branches/JBPAPP_5_1/cluster/src/main/org/jboss/ha/jmx.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Sep 1 02:37:42 EDT 2011


Author: dereed
Date: 2011-09-01 02:37:41 -0400 (Thu, 01 Sep 2011)
New Revision: 112191

Modified:
   branches/JBPAPP_5_1/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java
Log:
[JBPAPP-6797] Re-order check for partition until after partition is set


Modified: branches/JBPAPP_5_1/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java
===================================================================
--- branches/JBPAPP_5_1/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java	2011-08-31 22:41:37 UTC (rev 112190)
+++ branches/JBPAPP_5_1/cluster/src/main/org/jboss/ha/jmx/AbstractHAServiceMBeanSupport.java	2011-09-01 06:37:41 UTC (rev 112191)
@@ -171,13 +171,13 @@
    {
       this.log.debug("start HAServiceMBeanSupport");
       
+      this.setupPartition();
+
       if (this.getHAPartition() == null)
       {
          throw new IllegalStateException("HAPartition property must be set before starting HAServiceMBeanSupport");
       }
 
-      this.setupPartition();
-
       // Default serviceHAName, if none defined
       if (this.service.getServiceHAName() == null)
       {



More information about the jboss-cvs-commits mailing list