[ 
https://issues.apache.org/jira/browse/JCS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Vandahl resolved JCS-157.
--------------------------------
       Resolution: Fixed
    Fix Version/s: jcs-2.0-beta-2

Fixed in SVN. Thanks for reporting this.

> 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
>            Assignee: Thomas Vandahl
>              Labels: patch, remote
>             Fix For: jcs-2.0-beta-2
>
>
> 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)

Reply via email to