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.

Reply via email to