[jboss-cvs] JBossAS SVN: r110241 - branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/invocation/unified/interfaces.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Dec 31 10:08:21 EST 2010


Author: bstansberry at jboss.com
Date: 2010-12-31 10:08:20 -0500 (Fri, 31 Dec 2010)
New Revision: 110241

Modified:
   branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
Log:
[JBPAPP-5693] Set subsystem to "invokerha" before initializing remoting client

Modified: branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java	2010-12-31 05:36:14 UTC (rev 110240)
+++ branches/JBPAPP_4_2_0_GA_CP/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java	2010-12-31 15:08:20 UTC (rev 110241)
@@ -91,14 +91,16 @@
                                 ArrayList targets, LoadBalancePolicy policy,
                                 String proxyFamilyName, long viewId)
    {
-      super(locator, isStrictRMIException);
+      super(); // JBPAPP-5406 avoid calling init() until we set the subsystem
 
       this.familyClusterInfo = ClusteringTargetsRepository.initTarget(proxyFamilyName, targets, viewId);
       this.loadBalancePolicy = policy;
       this.proxyFamilyName = proxyFamilyName;
       trace = log.isTraceEnabled();
       
-      setSubSystem("invokerha");
+      setSubSystem("invokerha");      
+      setStrictRMIException(isStrictRMIException);
+      init(locator);
    }
 
    public boolean txContextAllowsFailover(Invocation invocation)



More information about the jboss-cvs-commits mailing list