2 Replies Latest reply on Dec 12, 2017 5:53 AM by jamie smith

    Unable to acquire lock after 15 seconds

    Rahul Bhoyar Newbie

      Hello,

      We are using wildfly 11.0.0. alpha1 in domain and cluster mode.

       

      We are getting below error in wildfly server logs. We have
      wildfly  configured in domain mode in cluster. Both the instances are hosted on a
      single Linux VM. Our development team observed that  after removing '/distributable' tag from
      web.xml this issue gets resolved.

       

      Any
      idea what might be causing this issue?

       

       

      09:36:54,043 ERROR
      [org.infinispan.interceptors.InvocationContextInterceptor] (default task-4)
      ISPN000136: Error executing command GetKeyValueCommand, writing keys []:
      org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire
      lock after 15 seconds for key
      SessionCreationMetaDataKey(Nqkh-gZJbdLcXN9PhKduV-sjOnasemMoZSFqu1A4) and
      requestor GlobalTransaction:<master:xxxx-1>:1541:local. Lock is held by
      GlobalTransaction:<master:xxxx>:1540:local

              at
      org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.lock(DefaultLockManager.java:238)

              at
      org.infinispan.interceptors.locking.AbstractLockingInterceptor.lockAndRecord(AbstractLockingInterceptor.java:193)

              at
      org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.checkPendingAndLockKey(AbstractTxLockingInterceptor.java:193)

              at
      org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.lockOrRegisterBackupLock(AbstractTxLockingInterceptor.java:116)

              at
      org.infinispan.interceptors.locking.PessimisticLockingInterceptor.visitDataReadCommand(PessimisticLockingInterceptor.java:71)

              at
      org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitGetKeyValueCommand(AbstractLockingInterceptor.java:80)

              at
      org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)

              at
      org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)

              at
      org.infinispan.interceptors.TxInterceptor.enlistReadAndInvokeNext(TxInterceptor.java:346)

              at
      org.infinispan.interceptors.TxInterceptor.visitGetKeyValueCommand(TxInterceptor.java:331)

              at
      org.infinispan.commands.read.GetKeyValueCommand.acceptVisitor(GetKeyValueCommand.java:43)

              at
      org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:99)

              at
      org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:113)"