What can cause Infinispan error: Remote transaction not found?

Discussão em 'StackOverflow' iniciado por Stack, Janeiro 12, 2021.

  1. Stack

    Stack Membro Participativo

    Software: JBOSS EAP7.3/Wildfly20.1 Scenario: 2 servers running same application which share an infinispan invalidation cache. One server is up and the other down. When I bring up the second server I get the following exception on the first server (which stops processing). The cache is defined as follows:

    <invalidation-cache name="aaa">
    <locking isolation="REPEATABLE_READ"/>
    <transaction locking="OPTIMISTIC" mode="NON_DURABLE_XA"/>
    </invalidation-cache>


    Not sure where to start on this one? Any one have any suggestions?

    2021-01-08 16:19:38,684 INFO [org.infinispan.CLUSTER] (remote-thread--p6-t2) [Context=pca] ISPN100008: Updating cache members list [NodeA1, NodeA2], topology id 3
    2021-01-08 16:19:38,687 INFO [org.infinispan.CLUSTER] (remote-thread--p7-t2) [Context=client-mappings] ISPN100002: Starting rebalance with members [NodeA1, NodeA2], phase READ_OLD_WRITE_ALL, topology id 2
    2021-01-08 16:19:38,716 INFO [org.infinispan.CLUSTER] (remote-thread--p6-t2) [Context=eca] ISPN100008: Updating cache members list [NodeA1, NodeA2], topology id 3
    2021-01-08 16:19:38,720 INFO [org.infinispan.CLUSTER] (remote-thread--p6-t2) [Context=la] ISPN100008: Updating cache members list [NodeA1, NodeA2], topology id 3
    2021-01-08 16:19:39,155 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (thread-13,ejb,NodeA1) ISPN000136: Error executing command CommitCommand on Cache 'aaa', writing keys []: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from NodeA2, see cause for remote stack trace
    at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:28)
    at org.infinispan.remoting.transport.impl.VoidResponseCollector.addException(VoidResponseCollector.java:46)
    at org.infinispan.remoting.transport.impl.VoidResponseCollector.addException(VoidResponseCollector.java:18)
    at org.infinispan.remoting.transport.ValidResponseCollector.addResponse(ValidResponseCollector.java:29)
    at org.infinispan.remoting.transport.impl.MultiTargetRequest.onResponse(MultiTargetRequest.java:91)
    at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:52)
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1369)
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1272)
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$300(JGroupsTransport.java:126)
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport$ChannelCallbacks.up(JGroupsTransport.java:1417)
    at org.jgroups.JChannel.up(JChannel.java:816)
    at org.jgroups.fork.ForkProtocolStack.up(ForkProtocolStack.java:133)
    at org.jgroups.stack.Protocol.up(Protocol.java:339)
    at org.jgroups.protocols.FORK.up(FORK.java:141)
    at org.jgroups.protocols.FRAG3.up(FRAG3.java:171)
    at org.jgroups.protocols.FlowControl.up(FlowControl.java:339)
    at org.jgroups.protocols.FlowControl.up(FlowControl.java:339)
    at org.jgroups.protocols.pbcast.GMS.up(GMS.java:872)
    at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:240)
    at org.jgroups.protocols.UNICAST3.deliverMessage(UNICAST3.java:1008)
    at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:734)
    at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:389)
    at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:590)
    at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:131)
    at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:203)
    at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:253)
    at org.jgroups.protocols.MERGE3.up(MERGE3.java:280)
    at org.jgroups.protocols.Discovery.up(Discovery.java:295)
    at org.jgroups.protocols.TP.passMessageUp(TP.java:1250)
    at org.jgroups.util.SubmitToThreadPool$SingleMessageHandler.run(SubmitToThreadPool.java:87)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.jboss.as.clustering.jgroups.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:52)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.IllegalStateException: Remote transaction not found: GlobalTx:NodeA1:792
    at org.infinispan.commands.tx.CommitCommand.invalidRemoteTxReturnValue(CommitCommand.java:53)
    at org.infinispan.commands.tx.AbstractTransactionBoundaryCommand.invokeAsync(AbstractTransactionBoundaryCommand.java:98)
    at org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:117)
    at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:99)
    at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:71)
    at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:40)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at org.wildfly.clustering.service.concurrent.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:47)
    ... 1 more

    Continue reading...

Compartilhe esta Página