Unicast settings for cas-cache.xml cs-cache.xml (ehcache)
Hello, Anyone configured unicast settings for cas-cache.xml, ss-cache.xml etc for ehcache.
I tried the following but cs web application is not deploying properly and I am getting 500 errors.
Hi,
I updated the configs (ss-cache.xml, cas-cache.xml and cs-cache.xml) as decribed in the ehcache.doc.
I commented out the existing and copy the following. initalhosts (i put the remote host) as we have only 2 nodes in the cluster. I used different ports for all three configs. Please confirm.
<!--
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=automatic, multicastGroupAddress=224.0.2.121,
multicastGroupPort=37787, timeToLive=255" />
-->
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"
I updated the configs (ss-cache.xml, cas-cache.xml and cs-cache.xml) as decribed in the ehcache.doc.
I commented out the existing and copy the following. initalhosts (i put the remote host) as we have only 2 nodes in the cluster. I used different ports for all three configs. Please confirm.
<!--
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=automatic, multicastGroupAddress=224.0.2.121,
multicastGroupPort=37787, timeToLive=255" />
-->
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory"
0