[jboss-cvs] JBossAS SVN: r70450 - trunk/cluster/src/main/org/jboss/invocation/unified/interfaces.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 5 15:30:09 EST 2008


Author: galder.zamarreno at jboss.com
Date: 2008-03-05 15:30:09 -0500 (Wed, 05 Mar 2008)
New Revision: 70450

Modified:
   trunk/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
Log:
[JBAS-4815] Fixed unified invoker proxy by synchronising getClient method.

Modified: trunk/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java
===================================================================
--- trunk/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java	2008-03-05 20:04:21 UTC (rev 70449)
+++ trunk/cluster/src/main/org/jboss/invocation/unified/interfaces/UnifiedInvokerHAProxy.java	2008-03-05 20:30:09 UTC (rev 70450)
@@ -172,7 +172,7 @@
     * @return remoting client
     * @throws MalformedURLException
     */
-   protected Client getClient(Invocation invocationBasedRouting) throws MalformedURLException
+   protected synchronized Client getClient(Invocation invocationBasedRouting) throws MalformedURLException
    {
       Object target = loadBalancePolicy.chooseTarget(familyClusterInfo, invocationBasedRouting);
       InvokerLocator targetLocator = (InvokerLocator) target;




More information about the jboss-cvs-commits mailing list