[jboss-user] [JBossCache] - Re: Data gravitation synchronization issue

FredrikJ do-not-reply at jboss.com
Tue Oct 23 09:36:55 EDT 2007


Using 2.1 beta does not solve the problem. I still get timeout exceptions from unsuccesful lock acquisition when enabling buddy replication.

 JBoss Cache version: JBossCache 'Alegrias' 2.1.0.BETA1[ $Id: Version.java 4592 2007-10-10 16:44:36Z manik.surtani at jboss.com $]
  | ....
  | JGroups version: 2.6.0 beta-1
  | ....
  | Incoming Thread,TableSpace,172.16.0.5:7500 ERROR jboss.cache.interceptors.TxInterceptor - method invocation failed
  | org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/5, caller=GlobalTransaction:<172.16.0.7:7500>:1, lock=write owner=GlobalTransaction:<172.16.0.6:7500>:2 (activeReaders=0, activeWriter=Thread[Incoming Thread,TableSpace,
  | 172.16.0.5:7500,5,Incoming], waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  |         at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:528)
  |         at org.jboss.cache.interceptors.PessimisticLockInterceptor$LockManager.acquire(PessimisticLockInterceptor.java:598)
  |         at org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:412)
  |         at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:348)
  |         at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:185)
  |         at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  |         at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
  |         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:299)
  |         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:123)
  |         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:3954)
  |         at org.jboss.cache.CacheImpl._dataGravitationCleanup(CacheImpl.java:3026)
  | ....
  | Caused by: org.jboss.cache.lock.TimeoutException: write lock for /5 could not be acquired after 5000 ms. Locks: Read lock owners: []
  | Write lock owner: GlobalTransaction:<172.16.0.6:7500>:2
  |  (caller=GlobalTransaction:<172.16.0.7:7500>:1, lock info: write owner=GlobalTransaction:<172.16.0.6:7500>:2 (activeReaders=0, activeWriter=Thread[Incoming Thread,TableSpace,172.16.0.5:7500,5,Incoming], waitingReaders=0, waitingWriters=0
  | , waitingUpgrader=0))
  |         at org.jboss.cache.lock.IdentityLock.acquireWriteLock0(IdentityLock.java:244)
  |         at org.jboss.cache.lock.IdentityLock.acquireWriteLock(IdentityLock.java:167)
  |         at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:497)
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097891#4097891

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097891



More information about the jboss-user mailing list