jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Unable to lock Exception.
Date Fri, 20 Nov 2009 14:31:41 GMT
On Fri, Nov 20, 2009 at 08:47, Sunil Dhage <sunil.dhage@coreobjects.com> wrote:
> I have a node "account" to be locked. Since there can be concurrent threads which try
to access this node.
>
> I have provided mix:lockable to the node definition in .cnd file.  [lc:account] >nt:folder,mix:lockable
>
> And when I tried printing account.isNodeType("mix:lockable");  yielding false all the
times.

Maybe something with node type registration fails or the account node
is not created with the primary node type lc:account. Could you check?
And/or provide code example?

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message