Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9448

Unrecoverable "..DummyTransaction{xid=DummyXid{id=437353}, status=3} is not in a valid state.." after " Unable to acquire lock after 15 seconds"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • Clustering
    • None
    • Centos

      On our system, after some time we get this:
      javax.ejb.EJBTransactionRolledbackException: ISPN000299: Unable to acquire lock after 15 seconds for key UnknownSessionID [4957576549555554536866505268565165695766655070536957516655656852] and requestor GlobalTransaction:<node1>:682146:local. Lock is held by GlobalTransaction:<node1>:681890:local

      And then we start getting the following:

      ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-2) ISPN000136: Error executing command GetKeyValueCommand, writing keys []: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid

      {id=437353}, status=3} is not in a valid state to be invoking cache operations on.
      at org.infinispan.interceptors.TxInterceptor.enlist(TxInterceptor.java:395)
      ...

      ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /contextpath/someXYZResource: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid{id=437353}

      , status=3} is not in a valid state to be invoking cache operations on.

      continouously on most requests without being able to recover.
      After restarting, again if at some point the "Unable to acquire lock after 15 seconds" happens, we start getting errors about the DummyTransaction, which never stop.

      I believe "Unable to acquire lock after 15 seconds" should not lead to an unrecoverable state.

      NOTE: Each node runs with:
      `./standalone.sh -c=standalone-full-ha.xml -u=239.255.200.215 -b=$localIp -bmanagement=$localIp -bprivate=$localIp -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=200` .

      `jboss.node.name` and `$localIp` only changes between nodes.

              pferraro@redhat.com Paul Ferraro
              kobogianhitis jamie smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: