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: Possible deadlock of jcr-server 1.2.1 (rmi)
Date Wed, 14 Mar 2007 08:47:41 GMT
Olivier Dony wrote:
> The thread dump is attached. I tried to make some sense out of it, but 
> the read/write locks are hard to follow.
> Looks like all RMI-handling thread are waiting to acquire a reader lock 
> on the SharedItemStateManager, except one which is waiting for a writer 
> lock.
> None appear to be ready to release a lock, which is why I suppose they 
> were deadlocked.

the tcp connections 11541 and 11537 are in a deadlock situation. see attached 
text file.

> Is this maybe related to a lock that isn't reentrant but should be? Or not?

all locks are reentrant, but they are acquired in different order by the two 
threads.

regards
  marcel

Mime
View raw message