[jboss-user] [JBossCache] - Write lock is not released
metastaz
do-not-reply at jboss.com
Mon Jul 9 11:00:32 EDT 2007
Hi all,
we have JBoss 4.0.2 , JBossCache 1.2.2 and Hibernate 3.1.
Isolation level = repeatable read
Ocasionay we observe a following in logs:
1) thread x starts a transaction and obtains a write lock on resource A
2) ~30 mins go by
3) transaction in thread x fails to obtain a _read_ lock on resource A, since
write lock is already held by thread x:
anonymous wrote :
| [ReportDataTaskRunner-20521017-1] - Transaction failed due to exception
| org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: read lock for Attribute#4558 could not be acquired by <zzz:4256>:162303 after 15000 ms. Locks: Read lock owners: []
| Write lock owner: Thread[ReportDataTaskRunner-20521017-1,5,jboss]
| , lock info: write owner=Thread[ReportDataTaskRunner-20521017-1,5,jboss] (activeReaders=0, activeWriter=Thread[ReportDataTaskRunner-20521017-1,5,jboss], waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
|
This lock stays forever.
I'd appreciate any hints on this.
Thanks in advance,
Stas.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062019#4062019
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062019
More information about the jboss-user
mailing list