db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2083) Shutting down a database loaded from a jar leaves an open file reference to the jar file containing the database.
Date Wed, 06 Dec 2006 18:17:23 GMT
     [ http://issues.apache.org/jira/browse/DERBY-2083?page=all ]

Daniel John Debrunner updated DERBY-2083:
-----------------------------------------

    Derby Info: [Patch Available]

Running tests on patch, don't expect any failures since (at the moment) it's just adding calls
that do nothing.

> 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: Store, Services
>    Affects Versions: 10.3.0.0
>            Reporter: Daniel John Debrunner
>         Assigned To: Daniel John Debrunner
>            Priority: Minor
>         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

        

Mime
View raw message