jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Multi-threding, Node.restore() method
Date Mon, 18 Dec 2006 13:38:52 GMT
Hi,

On 12/18/06, vetalok <vetalok@gmail.com> wrote:
> I have 5 threads, they all are doing Node.restore() method.
> If I run my programm 2 or more times my program is hanging (first launch may
> hang too).
> [...]
> How can I resolve this problem?
> Is this jackrabbit problem?

Yes, this is a known issue in Jackrabbit, see issues JCR-18 and
JCR-672. The workaround for now is to serialize the versioning
operations in different sessions by for example synchronizing on a
shared resource like the repository instance used to create the
sessions.

BR,

Jukka Zitting

Mime
View raw message