Yes. It was exactly reason why it failed. I need to store lock token to another variable. Now it works.
Thanks a lot for hint. Marek > ------------ Původní zpráva ------------ > Od: Mark Herman <[email protected]> > Předmět: Re: Re: Re: Re: Any way how to remove node lock? > Datum: 06.2.2012 18:10:37 > ---------------------------------------- > Check your 2nd lock.getLockTocken(). There is a chance that it's returning > null since you disconnected that session where the object was retrieved > from. > > Also, output a session.getUserID() just to be 100% who you're running as. > I'm not too familiar with the config you gave earlier, but it's possible > repository.login() is being called which results in an anonymous session. > > -- > View this message in context: > http://jackrabbit.510166.n4.nabble.com/Any-way-how-to-remove-node-lock-tp4361516p4361987.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > > Marek Slama [email protected]
