Author: tv Date: Sun Jan 17 15:32:54 2016 New Revision: 1725097 URL: http://svn.apache.org/viewvc?rev=1725097&view=rev Log: Fix JCS-157: RemoteCacheFactory ignores host and port configuration on client
Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFactory.java Modified: commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFactory.java URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFactory.java?rev=1725097&r1=1725096&r2=1725097&view=diff ============================================================================== --- commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFactory.java (original) +++ commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/auxiliary/remote/RemoteCacheFactory.java Sun Jan 17 15:32:54 2016 @@ -116,6 +116,7 @@ public class RemoteCacheFactory if (location != null) { failovers.add( location ); + rca.setRemoteLocation(location); RemoteCacheManager rcm = getManager( rca, cacheMgr, cacheEventLogger, elementSerializer ); // add a listener if there are none, need to tell rca what