Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
jcs-2.0-beta-2
-
Patch, Important
Description
I tested JCS client with remote cache and I had problem to connect to remote cache, my client was always trying to connect to port 1099 (default) and ignores configuration. I think that problem is in class RemoteCacheFactory. In attachment is my simple fix. It is now working, but I'm not sure if it is correct.
client.jcf:
jcs.auxiliary.RServer=org.apache.commons.jcs.auxiliary.remote.RemoteCacheFactory
jcs.auxiliary.RServer.attributes=org.apache.commons.jcs.auxiliary.remote.RemoteCacheAttributes
jcs.auxiliary.RServer.attributes.FailoverServers=localhost:1103
remoteServer.jcf
registry.host=localhost
registry.port=1103
remote.cache.service.port=1103