0 Replies Latest reply on Mar 13, 2014 12:42 PM by Ridwan Nizam

    Replicated cache doesn't get cache entries

    Ridwan Nizam Newbie

      I am using Infinispan 5.2.7 bundled in JBoss 7 (JBoss Enterprise Application Platform - Version 6.2.0.GA) to create a replicated cache.

       

      I have two servers, node1 and node2, running using standalone-ha.xml files.

       

      When I have the two nodes running, If I add some entries to the node1 then I can retrieve that entries in node2.

       

      When I start node1, then add some entries; When starting node2 I can't retrieve the entries from node2.

       

      As I know, the configuration <state-transfer enabled="true" timeout="60000" chunk-size="10000"/> will allow node2 to get the entries of node1 on startup, but it doesn't work for me.

       

      this is my configuration :

       

              <subsystem xmlns="urn:jboss:domain:infinispan:1.4">

                  <cache-container name="LabeebCaches" default-cache="CALAMP" >

                  <transport lock-timeout="60000"/>

                <replicated-cache name="CALAMP" mode="SYNC" batching="false" >

                  <state-transfer enabled="true" timeout="60000" chunk-size="10000"/>

                  </replicated-cache>

                </cache-container>

                ......

       

      Is there any problem in my configuration?