[ http://issues.apache.org/jira/browse/DERBY-2083?page=all ]
Daniel John Debrunner closed DERBY-2083.
----------------------------------------
Resolution: Fixed
Revision 484672 fixes the backup problem introduced with the first set of
changes.
> 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
> Fix For: 10.3.0.0
>
> Attachments: d2083_store_shutdown_diff.txt
>
>
> 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