5 Replies Latest reply on Mar 9, 2012 4:01 AM by Horia Chiorean

    ItemExistException due to conccurent access ?

    Akram Ben Aissi Newbie

      Hi Modeshapers,


      I am writing a small client API to invoke modeshape publish methods. While doing some tests with a few threads trying to create some nested folders I a facing the following exception:


      javax.jcr.ItemExistsException: A node definition that allows same name siblings could not be found for the node "/{}MyDir/{}R[2]" in workspace "default"


      I am trying to create the following folders:


      And my threads seems to do the follwing creation orders:





      Can anyone explain if this is an expected behaviour?