0 Replies Latest reply on Jun 13, 2014 3:31 AM by Alex Alex

    Infinispan 4.2 Unable to acquire lock after [15 seconds]

    Alex Alex Newbie

      Receiving the following error on clustered infinispan 4.2 (jboss 6.1.0):


      17:02:05,634 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] Execution error: : org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [myKey] for requestor [Thread[Incoming-17,null,5,Thread Pools]]! Lock held by [Thread[Thread-17 (group:HornetQ-client-global-threads-1249723194),5,HornetQ-client-global-threads-1249723194]]

        at org.infinispan.container.EntryFactoryImpl.acquireLock(EntryFactoryImpl.java:228) [:4.2.0.FINAL]

        at org.infinispan.container.EntryFactoryImpl.wrapEntryForWriting(EntryFactoryImpl.java:123) [:4.2.0.FINAL



      Found the following workaround on another forum: set useLockStripping=false which doesn't seem to solve the issue.


      Migrating to another infinispan version is not yet an option.

      Please let me know if you encountered the issue and what must be done in this case


      Thank you.