[ http://issues.apache.org/jira/browse/DERBY-2083?page=comments#action_12456730 ] Øystein Grøvlen commented on DERBY-2083: ----------------------------------------
The tinderbox test indicates that something has been broken by this fix. Several tests now fail with: > ERROR XCY03: Required property 'derby.serviceProtocol' has not been set. > 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 > 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
