jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cory Prowse <c...@prowse.com>
Subject createWorkspace throws PathNotFoundException
Date Thu, 05 Aug 2010 08:41:57 GMT

I'm attempting to create a workspace from another srcWorkspace but it is throwing a PathNotFoundException
on a node that is a child of the root.

This is on JackRabbit 2.1.0 deployed as a JCA.

I am essentially doing the following:

session = repository.login(new SimpleCredentials("admin1", "".toCharArray()), "default");
session.getRootNode().addNode("/example", NodeType.NT_UNSTRUCTURED);
workspace.createWorkspace("staging", "default");

This throws a PathNotFoundException on "/example".

Not sure what to do from here, can anyone provide possible causes?

 -- Cory
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message