jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Problems with concurrent sessions
Date Fri, 22 Jul 2005 09:00:47 GMT
Hi Nicolas,

Nicolas Belisle wrote:
> Hi Marcel,
> If all three tryLock() fail, the event is certainly active. The event is 
> then waiting for an ACTIVE lock to be released (the last tryLock() 
> confirms that fact). The event is not cancelled/removed until the lock 
> is obtained. Then doInTransaction() is called.
> The only way I see to stop the transaction from executing is to stop the 
> server...
> Am I missing something ?

you are right. the listener will still be active when a tryLock() in 
onEvent() fails. and will then be called again on the next unlock event.

sorry about the confusion I may have caused...


View raw message