jackrabbit-users mailing list archives

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

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.

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.


Regards,
Sunil

Mime
View raw message