Documentation Center

Synchronizing caches using Remote Method Invocation

To synchronize caches using RMI, install and configure the Cache Channel Service, which sends RMI messages between cache, on any machine you like. The Cache Channel Service runs as a standalone process or as a Windows service and does not require additional software.

Procedure

  1. Install and start the Cache Channel Service on a machine.
  2. In all SDL Tridion Web applications, Java processes and Windows services where caching is enabled, open the Storage Layer configuration file cd_storage_conf.xml in a plain-text or XML editor.
  3. Inside the ObjectCache, insert a RemoteSynchronization element as the last subelement.
  4. Inside this new RemoteSynchronization element, create a new Connector subelement and set the attributes as follows:
    Class
    Set to com.tridion.cache.RMICacheChannelConnector.
    Host
    Set to the host of your Cache Channel Service. If omitted, defaults to the value localhost.
    Port
    Set to the port of your Cache Channel Service. If omitted, defaults to the value 1099.
  5. Save and close cd_storage_conf.xml.
  6. Restart the Web application, Java process or Windows service.