RE: How to get the subnodes of a tree using sql?

2007-09-03 Thread Ard Schrijvers
And now with the correct user list :-) > Hello, > > when adding the nodes, print out the getPath() to see their > absolute paths. Use this path in the jcr:path. I just tested > it for the trunk and it works without any problems > > Regards Ard > > ps I am crossposting to the user list. Conti

Re: Access Management - Unix-Style

2007-09-03 Thread Paco Avila
El lun, 03-09-2007 a las 17:55 +0200, Daniel BrŸuen escribió: > Thanks, Paco! > > Paco Avila wrote: > > In our application (OpenKM) we store authorization info in the same > > node. Each node with auth should have this mixing: > > > > [mix:accessControlled] mixin > > - okm:authUsersRead (string)

Re: Problem adding a child node

2007-09-03 Thread Kaizer
Hi, Thanks a lot. Actually earlier I was trying to add the node under nt:folder and was getting the same exception, thats why i tried using the base node type. Why cant i add the nodes with nt:folder as the node type and what exactly is the cause of this exception? Thanks! Stefan Guggisberg

Re: jackrabbit first steps problem

2007-09-03 Thread Alexandru Popescu ☀
On 9/4/07, Dumitru CIUBENCO <[EMAIL PROTECTED]> wrote: > Hi > I'm newbie here, and I'm trying to build a sample application using > jackrabbit(1.3x)+tomcat(5x,6x), I tried many configurations and different > approach including jcr spring modules, and I have the same Exception every > time usuall

jackrabbit first steps problem

2007-09-03 Thread Dumitru CIUBENCO
Hi I'm newbie here, and I'm trying to build a sample application using jackrabbit(1.3x)+tomcat(5x,6x), I tried many configurations and different approach including jcr spring modules, and I have the same Exception every time usually on "session.save();" statement after adding a child to root nod

Re: Problem adding a child node

2007-09-03 Thread Stefan Guggisberg
On 9/3/07, Kaizer <[EMAIL PROTECTED]> wrote: > > I am getting a similar exception on adding nodes. > > Node hello = root.addNode("hello","nt:base"); > Node world = hello.addNode("world","nt:base"); > > javax.jcr.nodetype.ConstraintViolationException: no definition found in > parent node's node type

Re: Access Management - Unix-Style

2007-09-03 Thread Daniel BrŸuen
Thanks, Paco! Paco Avila wrote: In our application (OpenKM) we store authorization info in the same node. Each node with auth should have this mixing: [mix:accessControlled] mixin - okm:authUsersRead (string) multiple mandatory - okm:authUsersWrite (string) multiple mandatory - okm:authRolesR

Re: Problem adding a child node

2007-09-03 Thread Kaizer
I am getting a similar exception on adding nodes. Node hello = root.addNode("hello","nt:base"); Node world = hello.addNode("world","nt:base"); javax.jcr.nodetype.ConstraintViolationException: no definition found in parent node's node type for new node: no matching child node definition found fo

Re: Access Management - Unix-Style

2007-09-03 Thread Paco Avila
El lun, 03-09-2007 a las 13:34 +0200, Christophe Lombart escribió: > That means that you have the define the permissions for each node - right ? > I'm not sure this what he is looking for. I'm also interested by another > solution. > In my case, I have to define a security model with the notion of

Re: How to add lock tokens

2007-09-03 Thread Paco Avila
El lun, 03-09-2007 a las 06:25 -0700, shepy escribió: > Hi, >This is something that i had in mind. But to do this i need to > intercept somewhere session creation and add lock tokens to session. Since i > use remote repository i need to change rmi SPI code distributed with > jackrabbit and

Re: How to add lock tokens

2007-09-03 Thread shepy
Hi, This is something that i had in mind. But to do this i need to intercept somewhere session creation and add lock tokens to session. Since i use remote repository i need to change rmi SPI code distributed with jackrabbit and i don't want to do this. Other solution is to store lock token

WebDAV component usage example

2007-09-03 Thread Eugeny N Dzhurinsky
Hello! Could somebody please explain how can I get some information/examples/guides about utilizing JackRabbit's WebDAV capabilities? What we need is to provide access to legacy storage using WebDAV protocol, keeping in mind there's new branch of software which already has JackRabbit at the back e

Re: Access Management - Unix-Style

2007-09-03 Thread Christophe Lombart
That means that you have the define the permissions for each node - right ? I'm not sure this what he is looking for. I'm also interested by another solution. In my case, I have to define a security model with the notion of users, groups and role. One user can be member of different groups within d

Re: How to add lock tokens

2007-09-03 Thread Paco Avila
El vie, 31-08-2007 a las 01:44 -0700, shepy escribió: > Hi, > >The question is where to execute session.addLockToken(lockToken) and also > how to obtain lock tokens for specific user. And finnaly how to do this > without changing jackrabbit specific code. In OpenKM we store the lockTokens in

Re: Access Management - Unix-Style

2007-09-03 Thread Paco Avila
El dom, 02-09-2007 a las 16:15 +0200, Daniel BrŸuen escribió: > Hi! > > After searching this list and studying documentation I have not found a > simple way of doing group-based authorization in jackrabbit. > If I got it correctly I would need either another tree in the repository > storing acce

first hop - RepositoryException

2007-09-03 Thread Kristian Rink
Folks; being rather new to jackrabbit and just about to taking my first steps here, I started making my way through the "First Hops with Jackrabbit" document but have to admit I ended up rather soon, while trying to run FirstHop.java. Stacktrace is posted below; can anyone enlighten me what's goin

RE: reporting

2007-09-03 Thread sbarriba
Hi Mark, We are using a mixed setup of a) JackRabbit for all content management and b) relational database for all non-content related data e.g. transactions. The transaction data includes content IDs. To allow us to cross-reference the IDs to properties (title, price etc) in the content model we'r