Hi

I'm using jackrabbit in a multi-threaded application.

I have used ThreadLocal to confine the Jackrabbit Session to a single
thread and see no issues executing simultaneous threads except the
following scenario:-

- I want to create one node of type "nt:folder" and then have child
nodes creating under it.
- I attempt to get the node (of type "nt:folder") first.
- If I receive PathNotFoundException, then I create the node (of type
"nt:folder") and save the session.
- Some threads create extra nodes of the same name although the node
exists?

I've tried quite a few synchronization strategies, but no success. I
haven't tried node locking.

Any help would be appreciated.

Regards


George Sibley

Reply via email to