3 Replies Latest reply on Jan 24, 2015 12:22 PM by Wolf-Dieter Fink

    I am using JBOSS 6.2.1 EAP as AS and cluster

    Farhad Mahigir Newbie

      I am using JBOSS 6.2.1 EAP as AS and cluster with two nodes. The instances are standalone, and the configuration file standalone.xml on JBoss server. I want to use Infinispan as cache cluster for each JBoss instance. The replicated data on two cache. If a change occurs within a cache Instanze, immediately the other cache instance should be synchroniziert. And the cache entries with a CV of 10 hours.

       

      The goal is that every time the two instances of infinispan caches are exactly identical in content

       

      Is it correct ?

       

      ----------------------------------------

      ----------------------------------------

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

                  <cache-container default-cache="jec-registry" name="postbox">

                      <transport lock-timeout="60000"/>

                      <replicated-cache batching="true" mode="SYNC" name="jec-registry">

                          <state-transfer enabled="true" timeout="600000"/>

                          <expiration lifespan="36000000"/>

                          <locking isolation="READ_COMMITTED"/>

                      </replicated-cache>

                  </cache-container>

       

      -----------------------------------

      ----------------------------------