jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smjain <jain...@gmail.com>
Subject Re: javax.jcr.InvalidItemStateException: Item cannot be saved because it has been modified externally: node /
Date Sat, 24 Jul 2010 13:30:50 GMT

Well I am facing the same issue and a little confused now.

We have multiple threads first adding a node to the parent node and then
adding some properties to the child 

node. I think doing it this way will hold the lock for the root node and
will serialize all access to the root node. 

I am thinking of saving the session after adding the child node to release
the lock for the root node. Adding 

properties to child nodes will aquire lock for individual child nodes and
should allow concurrent writes.

Do we also need to change the Locking Strategy to FineGrainedISMLocking to
allow concurrent writes still

The link somehow points to serialization of writes with DefaultLocking


Please share your thoughts. I am stuck up here


View this message in context: http://jackrabbit.510166.n4.nabble.com/javax-jcr-InvalidItemStateException-Item-cannot-be-saved-because-it-has-been-modified-externally-nod-tp1744925p2301078.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message