1 Reply Latest reply on Feb 3, 2008 6:32 PM by Alessio Soldano

    org.jboss.cache.lock.TimeoutException: failure acquiring loc

    Anat Kisel Newbie

      Hi

      I am using pojo cache. When I try to write to the data base I get a exception. It happens while there is no one else writing or reading to the cache and it happens consistently only on 64b machines. When I do it on 32b machine it never happens.

      The exception is as follows:

      2008-01-23 17:32:57,560 ERROR [com.bevents.engine.engineserver.server.EngineServerImpl] org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/EVENTS/20/d1-0;d2-0;d3-0;d4-0;d5-1;d7-2;d10-0;d11-3;d12-2;d13-1, caller=Thread[RMI TCP Connection(37)-192.168.10.201,5,RMI Runtime], lock=write owner=GlobalTransaction::81 (org.jboss.cache.lock.LockStrategyReadCommitted@4d402172)
      org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/EVENTS/20/d1-0;d2-0;d3-0;d4-0;d5-1;d7-2;d10-0;d11-3;d12-2;d13-1, caller=Thread[RMI TCP Connection(37)-192.168.10.201,5,RMI Runtime], lock=write owner=GlobalTransaction::81 (org.jboss.cache.lock.LockStrategyReadCommitted@4d402172)
      at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:528)
      at org.jboss.cache.interceptors.PessimisticLockInterceptor$LockManager.acquire(PessimisticLockInterceptor.java:579)
      at org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:393)
      at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:329)
      at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:187)
      at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
      at org.jboss.cache.interceptors.NotificationInterceptor.invoke(NotificationInterceptor.java:32)
      at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
      at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:298)
      at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:131)
      at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
      at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:81)
      at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
      at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62)
      at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3939)
      at org.jboss.cache.CacheImpl.get(CacheImpl.java:1441)
      at org.jboss.cache.CacheImpl.get(CacheImpl.java:1415)



      Does anyone have any idea what can be the cause for this excpetion?

      hanks in advance,
      Anat