I am getting following error. This is when I am trying to update a wrong 
entity and application does a check and throws an exception 'entity not 
found' kind exception. but during graph shutdown I get this error. I do 
rollback transaction before propagating exception to caller. 



I have searched for this in this forum however I did not find any 
satisfactory cause/mitigation explanation. Can any one explain reason and 
solution for this problem.

SEVERE: Error during context close for db remote:localhost/mydb
com.orientechnologies.common.concur.lock.OLockException: Cannot release a 
database URL not acquired before. URL: mydb
    at 
com.orientechnologies.orient.core.db.ODatabasePoolAbstract.release(ODatabasePoolAbstract.java:211)
    at 
com.orientechnologies.orient.core.db.ODatabasePoolBase.release(ODatabasePoolBase.java:167)
    at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTxPooled.close(ODatabaseDocumentTxPooled.java:122)
    at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.removeContext(OrientBaseGraph.java:1550)
    at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.shutdown(OrientBaseGraph.java:900)

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to