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
- Install and start the Cache Channel Service on a machine.
- 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.
- Inside the
ObjectCache, insert aRemoteSynchronizationelement as the last subelement, and set itsHost(defaults tolocalhost) andPort(defaults to 1099) attributes to the host and port of your Cache Channel Service. - Save and close cd_storage_conf.xml.
- Restart the Web application, Java process or Windows service.