Hello Users,

                     I tried to connect to repository in order to delete a
node using this 
                        root.getNode("museum").remove();

But when i executed the program it showed some bug like :

Exception in thread "main" javax.jcr.lock.LockException: Node locked.
        at
org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(ServerObject.java:114)
        at
org.apache.jackrabbit.rmi.server.ServerItem.remove(ServerItem.java:137)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     more .......

and i don't think i locked it at any previous hour. Same bug is ocuuring
when i try to create new nodes


Thanks,
simer 

-- 
View this message in context: 
http://www.nabble.com/Node-Locked-tp25986753p25986753.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to