I'm just using jackrabbit "straight out of the box" so it's the DerbyPersistenceManager using the LocalFileSystem I'll think I'll start to experiment with persistance managers. Cheers, Graeme -----Original Message----- From: Stefan Guggisberg [mailto:stefan.guggisberg@gmail.com] Sent: 09 August 2006 11:07 To: users@jackrabbit.apache.org Subject: Re: Maximum child node limit hi graeme, On 8/9/06, Graeme Wilkinson wrote: > Is there a limit to the number of child nodes a node can have? I have logically no, physically yes (depending on the choice of persistence manager. what persistence manager did you use? cheers stefan > been doing some performance testing where I have just been repeatedly > adding new child nodes under the root node. I now get an > ItemNotFoundExecption whenever I try and add another node (using the > following code) > > newNode = myRoot.addNode( "myNode" ); > newNode.addMixin( "mix:referenceable" ); mySession.save(); > > On the call to save() an ItemNotFoundException is thrown. The UUID in > the message of the exception is different each time (see partial > stacktrace) so it would seem that is it creating something. The path > of my last node is /myNode[22687] (there are other nodes under the > root which is probably why 22687 is such an arbitrary number) and this > never changes no matter how many times I try and create a new node. > Interestingly, if I delete an existing node I can then create a new > node, which is what has led me to believe there is a limit to the > number of child nodes. > > Cheers, > > Graeme > > > > STACKTRACE > > javax.jcr.ItemNotFoundException: > 20d7a630-92d9-4e06-b726-b5ec2d28c976/{http://www.jcp.org/jcr/1.0}prima > ry > Type at org.ap...... > >