[jboss-cvs] JBossAS SVN: r110703 - branches/JBPAPP_5_1/cluster/src/main/org/jboss/invocation/unified/interfaces.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Feb 17 10:40:09 EST 2011
Author: bstansberry at jboss.com
Date: 2011-02-17 10:40:08 -0500 (Thu, 17 Feb 2011)
New Revision: 110703
Modified:
branches/JBPAPP_5_1/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
Log:
[JBPAPP-5406] Don't init client until subsystem is set
Modified: branches/JBPAPP_5_1/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
===================================================================
--- branches/JBPAPP_5_1/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java 2011-02-17 15:11:24 UTC (rev 110702)
+++ branches/JBPAPP_5_1/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java 2011-02-17 15:40:08 UTC (rev 110703)
@@ -89,14 +89,16 @@
List targets, LoadBalancePolicy policy,
String proxyFamilyName, long viewId)
{
- super(locator, isStrictRMIException);
+ super(); // JBPAPP-5406 avoid calling init() until we correctly set the subsystem
this.familyClusterInfo = ClusteringTargetsRepository.initTarget(proxyFamilyName, targets, viewId);
this.loadBalancePolicy = policy;
this.proxyFamilyName = proxyFamilyName;
trace = log.isTraceEnabled();
-
+
setSubSystem("invokerha");
+ setStrictRMIException(isStrictRMIException);
+ init(locator);
}
public boolean txContextAllowsFailover(Invocation invocation)
More information about the jboss-cvs-commits
mailing list