I have MBeans which use the TreeCacheAop MBean for storing objects. I want the TreeCacheAop MBeans on all nodes of my cluster to share the same data, i.e. I want to have synchronous replication. At this point it is not working, but I'm hoping that I can configure the TreeCacheAop MBean in such a way that it will. As it stands now data is being replicated from the first node to the second node when the second node starts, but after that the replication appears to stop. For example I can start the first node of the cluster and then add two Strings to the TreeCacheAop. I can then start the second node and see the same two Strings in the TreeCacheAop of the second node. However if I add a String to the TreeCacheAop on either node it does not get replicated to the TreeCacheAop on the other node. This is not the behavior I'm trying to achieve, in that if I add data to the TreeCacheAop on one node then I want to see it replicated on the other node, and vice-versa.
In my SAR I am using the replSync.xml file unaltered from the examples (except that I am using TransactionManagerLookup instead of DummyTransactionManagerLookup), and in the jboss-service.xml file I have the following entry for TreeCacheAop: | <mbean code="org.jboss.cache.aop.TreeCacheAop" | name="jboss.cache:service=TreeCacheAop"> | <attribute name="CacheMode">REPL_SYNC</attribute> | </mbean> | I'm using JBoss 4.0.1 and JBossCache 1.2. Thanks in advance for any suggestions on how I might configure things differently in order to get the replication behavior I'm looking for. --James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868885#3868885 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868885 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development