Hi all,
I'm new to jackrabbit and tried to make a simple repository witch would use
an MSSQL db for its Perisistence Manager. I've edited the
repository.xmlfile to my needs and tried to run a modified secondHop
from the examples.

The code looks like this:

Session session = repository.login();
Node root = session.getRootNode();
Node n = root.addNode("myNewTestNode", "nt:unstructured");
n.setProperty("message", "hello there -- " + System.currentTimeMillis());
session.save();

Now when I run the code above I get a  javax.jcr.AccessDeniedException: with
message: /: not allowed to modify item

What am I doing wrong here?

Thanks in advance!

-- 
Valotassios Jeoryos

GLOMAN S.A.
2 Papada str,
Athens, GR 115 25

T: +30 210 6985700
E: [EMAIL PROTECTED]

Reply via email to