You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "validruk (JIRA)" <ji...@apache.org> on 2016/01/12 13:20:39 UTC
[jira] [Created] (JCS-157) RemoteCacheFactory ignores host and port
configuration on client
validruk created JCS-157:
----------------------------
Summary: RemoteCacheFactory ignores host and port configuration on client
Key: JCS-157
URL: https://issues.apache.org/jira/browse/JCS-157
Project: Commons JCS
Issue Type: Bug
Components: RMI Remote Cache
Affects Versions: jcs-2.0-beta-2
Reporter: validruk
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)