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, [EMAIL PROTECTED] | 17:17:11,480 DEBUG [IdentityLock] acquireWriteLock(): upgrade lock | 17:17:11,480 DEBUG [Node] acquired WL: fqn=/SWSOCCER/scoreLists, owner=<clan:3575>:10, [EMAIL PROTECTED] | 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, [EMAIL PROTECTED]) | 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 [EMAIL PROTECTED] | 17:17:11,480 DEBUG [Node] acquired RL: fqn=/SWSOCCER, owner=<clan:3575>:10, [EMAIL PROTECTED] | 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 [EMAIL PROTECTED] | 17:17:11,480 DEBUG [Node] acquired WL: fqn=/SWSOCCER/scoreLists, owner=<clan:3575>:10, [EMAIL PROTECTED] | 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
