jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: locking and unlocking
Date Wed, 02 Aug 2006 22:06:30 GMT
Hi,

On 8/2/06, Ramesh Devaraj <r.devaraj@maas.de> wrote:
> Here the session lock the node "x" but forgets to unlock the node and logs out.
>
> How to remove the lock on this node "x"?

If you only plan to use the lock within a session, then I would
recommed using session-scoped locks that are automatically released
when the session is closed. Otherwise you need to explicitly save the
lock token and add it to a different session to be able to remove the
lock.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message