Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-157

RemoteCacheFactory ignores host and port configuration on client

    XMLWordPrintableJSON

    Details

    • Flags:
      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

        Attachments

          Activity

            People

            • Assignee:
              tv Thomas Vandahl
              Reporter:
              validruk validruk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: