title: ehcache not replicating in liferay cluster
body: <p>I have the following setup</p>
  
  <p>1.liferay cluster with 2 machines on AWS</p>
  
  <p>2.unicast clustering replication with JGroups over tcp</p>
  
  <p>I have the following parameters in the portal-ext.properties</p>
  
  <pre><code>#Setup hibernate
  net.sf.ehcache.configurationResourceName=/myehcache/hibernate-clustered.xml
  
  #Setup distributed ehcache
  ehcache.multi.vm.config.location=/myehcache/liferay-multi-vm-clustered.xml
  
  #
  # Clustering settings
  #
  cluster.link.enabled=true
  ehcache.cluster.link.replication.enabled=true
  cluster.link.channel.properties.control=tcp.xml
  cluster.link.channel.properties.transport.0=tcp.xml
  lucene.replicate.write=true
  
  #In order to make use of jgroups
      ehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactory
  ehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
   ehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory
  net.sf.ehcache.configurationResourceName.peerProviderProperties=file=/myehcache/tcp.xml
  ehcache.multi.vm.config.location.peerProviderProperties=file=/myehcache/tcp.xml
  
  cluster.executor.debug.enabled=true
  ehcache.statistics.enabled=true
  </code></pre>
  
  <p>I am not able to get the cluster cache replication working. Can anybody point me the right direction?
  I can post more details if needed later. I was also trying to modify the hibernate-clustered.xml and liferay-multi-vm-clustered.xml, but nothing works.</p>