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, and set its Host (defaults to localhost) and Port (defaults to 1099) attributes to the host and port of your Cache Channel Service.
  4. Save and close cd_storage_conf.xml.
  5. Restart the Web application, Java process or Windows service.