jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JOSE FELIX HERNANDEZ BARRIO <jose.hernan...@isthari.com>
Subject Re: Problem locking a node
Date Tue, 06 Jul 2010 08:42:15 GMT
Hi,

later i reopen a session get the same node a call
node.isLocked ();

and this return false
if i call node.getProperty("jcr:lockOwner"); returns void




2010/7/6 Jukka Zitting <jukka.zitting@gmail.com>

> Hi,
>
> On Tue, Jul 6, 2010 at 12:50 AM, JOSE FELIX HERNANDEZ BARRIO
> <jose.hernandez@isthari.com> wrote:
> > i'm trying to lock a node for 30 minutes
> >
> > lockManager.lock(node.getPath(), false, false, 1800, username);
> > session.save();
> > session.logout();
> >
> > there's no exception
> > but the node doesn't get locked.
>
> How do you determine whether the node is locked or not? I.e. what line
> of your code is giving results that you didn't expect seeing?
>
> BR,
>
> Jukka Zitting
>



-- 
Jose Hernandez
675599600
Isthari
http://www.isthari.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message