what error do you get exactly ?

couple of alternatives:
- synchronize on something related to your folder (slows down your thread)
- add a worker thread to do the writes and queue your requests

-- Raffaele

On Fri, Apr 15, 2011 at 9:37 AM, PeriS <peris@kuali.org> wrote:
Scenerio: Need for persisting multiple files under a single node (Folder)

Structure:

Root
   - Folder
       - File1
       - File 2

When trying to have multiple threads insert files under the same node, complains about locking. What are the alternatives?

Thanks
-PeriS