CachedNode lockedNode = internalSession.getWorkspace().getNode(lockedNodeKey);
if (lockedNode != null) {
MutableCachedNode mutableLockedNode = internalSession.mutable(lockedNodeKey);
mutableLockedNode.removeProperty(internalSession, JcrLexicon.LOCK_IS_DEEP);
mutableLockedNode.removeProperty(internalSession, JcrLexicon.LOCK_OWNER);
mutableLockedNode.unlock();
}
}
internalSession.save();
}
} catch (Throwable t) {