Shutting down a database loaded from a jar leaves an open file reference to the
jar file containing the database.
-----------------------------------------------------------------------------------------------------------------
Key: DERBY-2083
URL: http://issues.apache.org/jira/browse/DERBY-2083
Project: Derby
Issue Type: Bug
Components: Services, Store
Affects Versions: 10.3.0.0
Reporter: Daniel John Debrunner
Assigned To: Daniel John Debrunner
Priority: Minor
The shutdown() method of JarStorageFactory probably needs to close the zipData
file but adding that code changes the behaviour of shutting down such a
database to report database not found instead of database shutdown.
Even with the above method changed and the problem fixed there may be a store
error in that I couldn't see any store code that calls
StorageFactory.shutdown() for the data segement, in this case the database is
read only since it is from a jar.
Seen in some new test cases being added to DatabaseClassLoadingTest (in the
conversion from dcl.sql)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira