Closing a “local” OrientDB when using connection pools
问题 So I basically do this. OObjectDatabaseTx result = OObjectDatabasePool.global().acquire( "local:orientdb", "admin", "admin"); //dostuff result.close; The problem is that when I redeploy my webapp (without restarting the Java EE container) I get the folling error: com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage 'orientdb' with mode=rw which I interpret to mean "Tomcat still has a filelock from the last app". So my question is how do I cleanly exit in