DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25422>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25422

deadlock in ClearPersistentStoreAction





------- Additional Comments From [EMAIL PROTECTED]  2003-12-11 16:34 -------
I'm facing the same problem and IMO it comes from the excalibur store jar not 
from cocoon.
Cleaning the persistent store is actually done by 
org.apache.excalibur.store.impl.AbstractReadWriteStore, which holds a FIFO lock 
from util.concurrent.

We have the following steps:
org.apache.excalibur.store.impl.AbstractReadWriteStore.clean()
|
+--> lock.acquire()
|
+--> org.apache.excalibur.store.impl.AbstractJispFilesystemStore.doClean()
     |
     +-loop->org.apache.excalibur.store.impl.AbstractReadWriteStore.remove()
             |
             +-->lock.acquire() again!!

Note that the lock wasn't released between the calls to acquire() and i don't 
think this specific lock s reentrant.

Charles Borges

Reply via email to