db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5618) On Windows, orderly engine shutdown does not release the file handle on a jar file containing a database which was booted using the classpath subprotocol
Date Wed, 15 Feb 2012 15:20:59 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208536#comment-13208536
] 

Kristian Waagan commented on DERBY-5618:
----------------------------------------

For clarity only, I assume the jar file is left open on other platforms than Windows too,
but that on those other platforms you can write to the file even if another process has a
file handle to it?
                
> On Windows, orderly engine shutdown does not release the file handle on a jar file containing
a database which was booted using the classpath subprotocol
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5618
>                 URL: https://issues.apache.org/jira/browse/DERBY-5618
>             Project: Derby
>          Issue Type: Bug
>          Components: Services, Store
>    Affects Versions: 10.9.0.0
>         Environment: xp professional 5.1, oracle java 6, derby 10.9 trunk
>            Reporter: Rick Hillegas
>         Attachments: 5618.sql, FileUtils.java
>
>
> Boot a database in a jar file, using the classpath subprotocol, then shutdown the engine.
This leaves the jar file still open on Windows. However, orderly engine shutdown correctly
releases the file if you boot it using the jar subprotocol instead. I will attach a repro.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message