Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3781

WARN ISPN000112: exception while committing: javax.transaction.xa.XAException due to replication timeout

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Critical
    • Resolution: Done
    • 7.0.0.ER6, 7.1.0.DR9
    • 7.1.0.DR12
    • Clustering
    • None

    Description

      This is a separate issue originally logged as part of JBEAP-794 (#4 in this comment).

      Seen in ejb-remote, ejb-ejbservlet and http-session scenarios with REPL cache and SYNC replication.

      TimeoutException occured after perf18 (or any other node) rejoined a cluster (after graceful shutdown, jvmkill or undeploy - it doesn't matter), but it does not seem to affect client:

      [JBossINF] [0m[33m03:23:38,462 WARN  [org.infinispan.transaction.tm.DummyTransaction] (default task-24) ISPN000112: exception while committing: javax.transaction.xa.XAException
      [JBossINF]     at org.infinispan.transaction.impl.TransactionCoordinator.handleCommitFailure(TransactionCoordinator.java:213)
      [JBossINF]     at org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:159)
      [JBossINF]     at org.infinispan.transaction.xa.TransactionXaAdapter.commit(TransactionXaAdapter.java:114)
      [JBossINF]     at org.infinispan.transaction.tm.DummyTransaction.finishResource(DummyTransaction.java:401)
      [JBossINF]     at org.infinispan.transaction.tm.DummyTransaction.commitResources(DummyTransaction.java:448)
      [JBossINF]     at org.infinispan.transaction.tm.DummyTransaction.runCommit(DummyTransaction.java:321)
      [JBossINF]     at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:108)
      [JBossINF]     at org.wildfly.clustering.ee.infinispan.InfinispanBatch.close(InfinispanBatch.java:71)
      [JBossINF]     at org.wildfly.clustering.web.undertow.session.DistributableSession.requestDone(DistributableSession.java:76)
      [JBossINF]     at io.undertow.servlet.spec.ServletContextImpl.updateSessionAccessTime(ServletContextImpl.java:768)
      [JBossINF]     at io.undertow.servlet.spec.HttpServletResponseImpl.responseDone(HttpServletResponseImpl.java:563)
      [JBossINF]     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:331)
      [JBossINF]     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
      [JBossINF]     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
      [JBossINF]     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
      [JBossINF]     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
      [JBossINF]     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
      [JBossINF]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [JBossINF]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [JBossINF]     at java.lang.Thread.run(Thread.java:745)
      [JBossINF] Caused by: org.infinispan.util.concurrent.TimeoutException: Replication timeout for perf19
      [JBossINF]     at org.infinispan.remoting.transport.jgroups.JGroupsTransport.checkRsp(JGroupsTransport.java:765)
      [JBossINF]     at org.infinispan.remoting.transport.jgroups.JGroupsTransport.lambda$invokeRemotelyAsync$175(JGroupsTransport.java:612)
      [JBossINF]     at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
      [JBossINF]     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
      [JBossINF]     at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
      [JBossINF]     at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
      [JBossINF]     at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:47)
      [JBossINF]     at org.infinispan.remoting.transport.jgroups.RspListFuture.call(RspListFuture.java:16)
      [JBossINF]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [JBossINF]     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      [JBossINF]     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      [JBossINF]     ... 3 more
      

      Also, JBEAP-3779 an JBEAP-3780 (and partially also JBEAP-3782) accompany this issue, see occurrences report

      Server link:
      http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-7x-failover-http-session-shutdown-repl-sync/18/console-perf18/

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              mvinkler1@redhat.com Michal Vinkler
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: