You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Yufeng Li <yu...@yahoo.com> on 2006/04/08 04:05:33 UTC

how to force an unlock

Hi;

  I am wondering how to force unlocking a node which
has been locked for a long time. Or, how to get the
lock token which we may not have the lock token?
Thanks very much.

yufeng

Re: how to force an unlock

Posted by Tobias Bocanegra <to...@day.com>.
hi yufeng,
unfortunately this is currently not possible. once you lost the
locktoken, the node remains locked forever :-( however, you can
examine the 'locks' file in the workspace which records the lock
tokens.

there are plans to impose some sort of access control callbacks to the
lockmanager. this could for example enable a 'root' user to "break'
locks.

regards, toby

On 4/8/06, Yufeng Li <yu...@yahoo.com> wrote:
>
> Hi;
>
>   I am wondering how to force unlocking a node which
> has been locked for a long time. Or, how to get the
> lock token which we may not have the lock token?
> Thanks very much.
>
> yufeng
>


--
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---