Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 9946 invoked from network); 8 Dec 2006 08:54:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 08:54:46 -0000 Received: (qmail 34271 invoked by uid 500); 8 Dec 2006 08:54:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 34242 invoked by uid 500); 8 Dec 2006 08:54:53 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 34233 invoked by uid 99); 8 Dec 2006 08:54:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 00:54:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 00:54:44 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 812F47142FC for ; Fri, 8 Dec 2006 00:54:24 -0800 (PST) Message-ID: <7248705.1165568064526.JavaMail.jira@brutus> Date: Fri, 8 Dec 2006 00:54:24 -0800 (PST) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2083) Shutting down a database loaded from a jar leaves an open file reference to the jar file containing the database. In-Reply-To: <16510370.1163480197114.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2083?page=3Dcomments#actio= n_12456730 ]=20 =20 =C3=98ystein Gr=C3=B8vlen 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 zi= pData 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 s= tore 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 si= nce it is from a jar. > Seen in some new test cases being added to DatabaseClassLoadingTest (in t= he conversion from dcl.sql) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira