[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-development
Subject: [JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: TreeCache deadlock
From: chucklan <nukes () jboss ! org>
Date: 2004-06-30 0:36:00
Message-ID: 32471638.1088555761076.JavaMail.root () ads ! jboss ! org
[Download RAW message or body]
I also encountered a deadlock. I'm instantiating two TreeCache instances in my \
application. One through Hibernate for the second level cache, and the other for \
read cache. When I call cache.put(fqn, key, val) for the read cache, I'm getting the \
following:
(note, normally there are no TimeoutExceptions, except when we call put concurrently \
through two separate threads.)
| [17:17:11.480] Thread[thread-pool-38,5,main]before cache put for daily
| 17:17:11,480 DEBUG [TreeCache] _remove(<clan:3575>:11, "/SWSOCCER/scoreLists", \
DAILY) | 17:17:11,480 DEBUG [IdentityLock] acquireReadLock(): caller already owns \
lock. | 17:17:11,480 DEBUG [Node] acquired RL: fqn=/SWSOCCER, owner=<clan:3575>:11, \
lock=org.jboss.cache.lock.IdentityLock@e98ccf | 17:17:11,480 DEBUG [IdentityLock] \
acquireWriteLock(): upgrade lock | 17:17:11,480 DEBUG [Node] acquired WL: \
fqn=/SWSOCCER/scoreLists, owner=<clan:3575>:10, \
lock=org.jboss.cache.lock.IdentityLock@11b9cc4 | 17:17:11,480 DEBUG [IdentityLock] \
release(): lock map owner <clan:3575>:11 not found. Could have been released. | \
17:17:11,480 DEBUG [TreeCache] _put(<clan:3575>:10, "/SWSOCCER/scoreLists", DAILY, \
com.asw.highscore.model.ScoreList@a7c257) | 17:17:11,480 DEBUG [TreeCache] \
rollback(): called to rollback cache | 17:17:11,480 DEBUG [IdentityLock] \
acquireReadLock(): caller already owns lock. | 17:17:11,480 DEBUG [TreeCache] \
rollback(): releasing lock org.jboss.cache.lock.IdentityLock@11b9cc4 | 17:17:11,480 \
DEBUG [Node] acquired RL: fqn=/SWSOCCER, owner=<clan:3575>:10, \
lock=org.jboss.cache.lock.IdentityLock@e98ccf | 17:17:11,480 DEBUG [IdentityLock] \
release(): lock map owner <clan:3575>:11 not found. Could have been released. | \
17:17:11,480 DEBUG [IdentityLock] acquireWriteLock(): caller already owns lock. | \
17:17:11,480 DEBUG [TreeCache] rollback(): releasing lock \
org.jboss.cache.lock.IdentityLock@e98ccf | 17:17:11,480 DEBUG [Node] acquired WL: \
fqn=/SWSOCCER/scoreLists, owner=<clan:3575>:10, \
lock=org.jboss.cache.lock.IdentityLock@11b9cc4 | 17:17:11,480 DEBUG [IdentityLock] \
release(): lock map owner <clan:3575>:11 not found. Could have been released. | \
[17:17:11.480] IdentityLock.acquireWriteLock(): upgrade lock could not [17:17:11.480] \
IdentityLock.acquireWriteLock(): upgrade lock could not be acquired after 15000 ms. \
Lock map ownership Read lock owners: [<clan:3575>:10] | [17:17:11.480] Write lock \
owner: null |
Both caches are configured to be transactioanal, and replicated. Txn isolation level \
is at the default of REPEATABLE_READ.
Can you shed some light on this?
Thanks,
Chuck
View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840388#3840388
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840388
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic