Stefan Guggisberg wrote:
> you need to transfer the lock token from the session that created the
> lock to the new session., e.g. like this:
> 
>             Lock lock =
> 
> sessionA.getRootNode().getNode("path/to/lockable/node").lock(true,
> false);
>             String token = lock.getLockToken();
>             sessionA.removeLockToken(token);
>             ...
>             sessionB.addLockToken(token);
>             sessionB.getRootNode().getNode("path/to/lockable/node").unlock();
> 
> 
Is it required to remove the lock token from the first session?

Carsten

-- 
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to