Hi, All.
We have a problem with eCache 1.2. We've configured cluster using JBoss 4.0.3 and our
project using Hibernate 3.1.3, Spring 1.2.8, ehCache 1.2. In the ehcache.xml configuration
file we've configured that some objects should repicated between cluster's nodes.
Here example config of ehcache.xml:
<cacheManagerPeerProviderFactory
| class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
| properties="peerDiscovery=automatic, multicastGroupAddress=239.1.1.4,
multicastGroupPort=4448"
| />
<cacheManagerPeerListenerFactory
| class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
| properties="port=40007"
| />
<cache name="com.prototype.ehcache.replication.ExampleObject"
| maxElementsInMemory="15000"
| eternal="false"
| timeToIdleSeconds="300"
| timeToLiveSeconds="300">
| <bootstrapCacheLoaderFactory
class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"/>
| <cacheEventListenerFactory
class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"/>
| </cache>
According to manual of ehcache this object should fine replicated between cluster's
nodes, but it's not. It's only cached on the current node. But I need that this
object replicated between nodes too. Let me know if this an bug of ehcache 1.2 or it's
configuration issue and I missed something. Let me know if you need more information about
this issue.
Thanks in advance,
Yura.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976883#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...