jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Maximum child node limit
Date Wed, 09 Aug 2006 10:07:29 GMT
hi graeme,

On 8/9/06, Graeme Wilkinson <graemew@enigma-interactive.co.uk> 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?


> 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
> javax.jcr.ItemNotFoundException:
> 20d7a630-92d9-4e06-b726-b5ec2d28c976/{http://www.jcp.org/jcr/1.0}primary
> Type at org.ap......

View raw message