You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by quipere <jq...@hotmail.com> on 2007/12/06 11:59:17 UTC

Unlocking a node when lost locktoken

Hi,

I lock nodes with Node.lock(true, false). Then I store the locktoken in an
other workspace in the repository. When I want to unlock the node I retrieve
the locktoken, add it to the usersession and unlock the node.

Now in some cases it can occur that a locktoken isn't correctly stored or
lost due to some problem. Is there a way to unlock a node when I don't have
the locktoken? Otherwise this node will stay locked for eternity.
-- 
View this message in context: http://www.nabble.com/Unlocking-a-node-when-lost-locktoken-tf4955368.html#a14190247
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Re: Unlocking a node when lost locktoken

Posted by Christoph Kiehl <ch...@sulu3000.de>.
quipere wrote:

> Now in some cases it can occur that a locktoken isn't correctly stored or
> lost due to some problem. Is there a way to unlock a node when I don't have
> the locktoken? Otherwise this node will stay locked for eternity.

See: <http://www.nabble.com/Re%3A-AW%3A-AW%3A-lock-question-p12652949.html>

Unfortunately there is no better way yet AFAIK.

Cheers,
Christoph