jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saurabh i-Logicon <saurabh.gu...@i-logicon.co.in>
Subject JackRabbit - InvalidItemState Exception
Date Fri, 18 Dec 2009 11:44:11 GMT


Our implementation uses a jackrabbit repository and has concurrent folder
creations under the root node ins the same workspace. While doing so at
times we hit InvalidItemStateException which ideally should imply concurrent
modification of the same node. 

However in ourcase each thread creates its own folder under the root node
and then uploads some files into this folder seqeuntially, so I do not see a
reason why concurrent would happen, unless and until the ceration of folder
under the root node has something to do with changing some proerties of the
root node.

Is my understanding correct? If yes, apart from placing a lock on the node
is there a way I can avoid the problem as locking would definitely induce a
performance concern. Also placing the lock would not be an option as we do
not want threads not a part of the lock to die out with a LockException or
something similar.

Would be interested to know if some options are available for my problem..

Thank you
View this message in context: http://n4.nabble.com/JackRabbit-InvalidItemState-Exception-tp974711p974711.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message