Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27701 invoked from network); 10 Feb 2011 19:04:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 19:04:21 -0000 Received: (qmail 71046 invoked by uid 500); 10 Feb 2011 19:04:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70816 invoked by uid 500); 10 Feb 2011 19:04:19 -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 70807 invoked by uid 99); 10 Feb 2011 19:04:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 19:04:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 19:04:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9DD4319D193 for ; Thu, 10 Feb 2011 19:03:57 +0000 (UTC) Date: Thu, 10 Feb 2011 19:03:57 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: <1018200399.8710.1297364637643.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-2905) Shutting down embedded Derby does not remove all code, the AutoloadDriver is left registered in the DriverManager. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993171#comment-12993171 ] Rick Hillegas commented on DERBY-2905: -------------------------------------- I think I lied to you in my comment on 2011-02-08. The DERBY_2905_part2_2.diff patch seems to have changed the reloaded driver from a Driver40 into an AutoloadedDriver. I saw the AutoloadedDriver bit but I missed the fact that it did not end in 40. So that patch made the situation worse. -1 to that patch now. > Shutting down embedded Derby does not remove all code, the AutoloadDriver is left registered in the DriverManager. > ------------------------------------------------------------------------------------------------------------------ > > Key: DERBY-2905 > URL: https://issues.apache.org/jira/browse/DERBY-2905 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.2.2.0, 10.3.1.4, 10.4.1.3 > Reporter: Daniel John Debrunner > Assignee: Lily Wei > Attachments: DERBY-2905-2.diff, DERBY-2905_1.diff, DERBY-2905_3.diff, DERBY-2905_part2_1.diff, DERBY-2905_part2_2.diff, DERBY-2905_part2_2_1.diff, DERBY-2905_part2_2_2.diff, DERBY-2905_part2_2_3.diff, DERBY-2905v0.diff, DERBY-2905v0.stat, DERBY-2905v1.diff, DERBY-2905v1.stat, DERBY-2905v3.diff, DERBY-2905v3.stat, Main.java, Mainv1.java, Repro2905.java, ww.java > > > After a shutdown of the embedded driver the AutoloadDriver is not unregistered from DriverManager. However it does not support any future loading of connections so it has no value in remaining registered. Since the DriverManager class will remain forever, this means the Derby code will remain forever in the JVM, even if Derby was loaded by a separate class loader. > Regression from 10.1 since before the AutoloadedDriver the internal driver did unregister itself from the DriverManager on a shutdown. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira