My Oracle Support Banner

Using Manual Peer Discovery For Cache Replication with Unicast and RMI Point-to-Point Protocol (Doc ID 2086854.1)

Last updated on DECEMBER 10, 2018

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.

Goal

Similar to Knowledge Management article, incache point-to-point configuration (Doc ID 1451708.1), how do you configure Manual Peer Discovery for InCache when all of the *-cache.xml files were set up with unique ports for each WebCenter Sites instance. In other words, each cache has its own unique port number that is the same across all nodes.  Having unique port numbers across nodes is a different configuration than presented in Doc ID 1451708.1.

For example with cas-cache.xml:

Server 1 cas-cache.xml:
             <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
                  properties="peerDiscovery=manual,
                  rmiUrls=//myserver2.oracle.com:22001/ticketcache|//myserver2.oracle.com:22001/sessioncache|//myserver2.oracle.com:22001/dependencyRepository|//myserver2.oracle.com:22001/notifier|//myserver3.oracle.com:22003/ticketcache|//myserver3.oracle.com:22003/sessioncache|//myserver3.oracle.com:22003/dependencyRepository|//myserver3.oracle.com:22003/notifier propertySeparator=","/>

Server 2 cas-cache.xml:
             <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
                 properties="peerDiscovery=manual,
                 rmiUrls=//myserver1.oracle.com:22002/ticketcache|//myserver1.oracle.com:22002/sessioncache|//myserver1.oracle.com:22002/dependencyRepository|//myserver1.oracle.com:22002/notifier|//myserver3.oracle.com:22003/ticketcache|//myserver3.oracle.com:22003/sessioncache|//myserver3.oracle.com:22003/dependencyRepository|//myserver3.oracle.com:22003/notifier propertySeparator=","/>

Server 3 cas-cache.xml:
            <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
                  properties="peerDiscovery=manual,
                  rmiUrls=//myserver1.oracle.com:22002/ticketcache|//myserver1.oracle.com:22002/sessioncache|//myserver1.oracle.com:22002/dependencyRepository|//myserver1.oracle.com:22002/notifier//myserver2.oracle.com:22001/ticketcache|//myserver2.oracle.com:22001/sessioncache|//myserver2.oracle.com:22001/dependencyRepository|//myserver2.oracle.com:22001/notifier propertySeparator=","/>

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.