jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Dhage <sunil.dh...@coreobjects.com>
Subject RE: Unable to lock Exception.
Date Fri, 20 Nov 2009 09:55:46 GMT
Hi all,

any pointers please.

From: Sunil Dhage [sunil.dhage@coreobjects.com]
Sent: Friday, November 20, 2009 1:17 PM
To: users@jackrabbit.apache.org
Subject: Unable to lock Exception.


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 registered the node types

And when I tried printing account.isNodeType("mix:lockable");  yielding false all the times.

And when I tried locking the node account.lock(true,true);  I am getting """""Item locked:
Unable to lock the node..""""""

Can you please let me know how should I provide.


View raw message