RMI Configuration - TcmExtensions/TcmCDService GitHub Wiki

Introduction

Two different RMI cache types are available for use with TcmCDService:

  • [RMI Cache Type](RMI Cache)
  • [Native RMI Cache Type](Native RMI Cache)

RMI Cache Type

The RMI cache type makes use of the standard Tridion com.tridion.cache.RMICacheChannelConnector and is configured as follows:

<!-- RMICache caches items until a cache flush instruction is received from Tridion over RMI.
 If the Tridion cache channel service is not connected, absolute expiration according to "defaultCacheExpiry" applies. -->

<cacheType type="TcmCDService.CacheTypes.RMICache, TcmCDService.RMI">
<setting key="host">10.38.230.11</setting>
<setting key="port">1099</setting>
<setting key="instanceIdentifier"></setting>
</cacheType>

In the above example the instanceIndentifier is empty, which instructs the cache type to use the default Tridion instance.

The Tridion configuration is as per the Tridion installation manual for the Tridion cache channel service.

Native RMI Cache Type

The native RMI cache type makes use of IKVM to implement a Java RMI connection and is configured as follows:

<!-- RMICache caches items until a cache flush instruction is received from Tridion over RMI.
 If the Tridion cache channel service is not connected, absolute expiration according to "defaultCacheExpiry" applies. -->

<cacheType type="TcmCDService.CacheTypes.RMICache, TcmCDService.NativeRMI">
<setting key="host">10.38.230.11</setting>
<setting key="port">1099</setting>
<setting key="instanceIdentifier"></setting>
</cacheType>

In the above example the instanceIndentifier is empty, which instructs the cache type to use the default Tridion instance.

The Tridion configuration is as per the Tridion installation manual for the Tridion cache channel service.

⚠️ **GitHub.com Fallback** ⚠️