0 Replies Latest reply on Sep 1, 2016 8:25 AM by ramdane

    Ignore "SuspectException: cache not running" for Invalidation Cache

    ramdane

      Hello,

       

      I use Infinispan 8.1.5 as Hibernate (5.0.10) Second-level cache in a clustered environment.

       

      When starting a node, I got this exception on another node :

       

      Caused by: javax.persistence.RollbackException: Error while committing the transaction

          at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:87)

          at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)

          ... 88 more

      Caused by: org.infinispan.remoting.transport.jgroups.SuspectException: Cache not running on node XXXXX

          at org.infinispan.remoting.transport.AbstractTransport.checkResponse(AbstractTransport.java:46)

          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:766)

       

       

      which caused the failure of the JPA transaction.

       

      Is it normal that this error causes the transaction failure when the clustered mode is INVALIDATION ?

       

      This happened between the JGroups view change and the cache rebalancing.

       

      Thank you.