2 Replies Latest reply on Jul 16, 2015 3:08 AM by saranya.guna

    Infinispan Cache

    saranya.guna

      We have clustered environment with four nodes.

      The cache was working fine. But while putting some load i.e) updating cache  we are facing below exception :

       

        org.infinispan.transaction.tm.DummyTransaction] (JobThread2359414) ISPN000111: afterCompletion() failed for SynchronizationAdapter{localTransaction=LocalTransaction{remoteLockedNodes=[node-005056a82bfe:server1/test, node-005056a82850:server1/test, node-005056a85448:server1/test, node-005056a87775:server1/test], isMarkedForRollback=false, lockedKeys=null, backupKeyLocks=[6455830_1436936130000], topologyId=20, isFromStateTransfer=false} org.infinispan.transaction.synchronization.SyncLocalTransaction@be1} org.infinispan.transaction.synchronization.SynchronizationAdapter@c00: org.infinispan.CacheException: Could not commit.

      at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:83) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

      at org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

      at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

      at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

      at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102) [infinispan-core-5.2.10.Final.jar:5.2.10.Final]

       

      The cache configuration was as below :

      <cache-container name="test" aliases="test" default-cache="test">

                          <transport lock-timeout="60000"/>

                          <replicated-cache name="test" mode="SYNC" start="EAGER" batching="true">

                              <transaction mode="NON_XA" locking="PESSIMISTIC"/>

                              <locking isolation="READ_COMMITTED" striping="false" acquire-timeout="600000"/>

                          </replicated-cache>

                      </cache-container>

        • 1. Re: Infinispan Cache
          wdfink

          Not sure what the reason is here.

          But in general the Infinispan subsystem contains an older version of the bits and is only meant for internal use (i.e. session replication and hibernate 2nd level)

           

          If you want to have a cache for your application I recommend to use the bits of Infinispan and use the current Infinispan version to run the cache.

          You will find the bits and documentation at infinispan.org

          • 2. Re: Infinispan Cache
            saranya.guna

            The below exception occurs only in multi-threaded environment. Whether using dummy transaction manager causes this issue.