Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97135 invoked from network); 27 Jun 2006 19:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 19:11:10 -0000 Received: (qmail 36156 invoked by uid 500); 27 Jun 2006 19:11:09 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 36116 invoked by uid 500); 27 Jun 2006 19:11:08 -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 36071 invoked by uid 99); 27 Jun 2006 19:11:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 12:11:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 12:11:07 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF2BD7141F5 for ; Tue, 27 Jun 2006 19:09:32 +0000 (GMT) Message-ID: <17128203.1151435372845.JavaMail.jira@brutus> Date: Tue, 27 Jun 2006 19:09:32 +0000 (GMT+00:00) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1459) Early load of Derby driver with JDBC 4.0 autoloading can lead to derby properties not being processed or derby boot time actions consuming resources when a connection is made with another driver In-Reply-To: <3129880.1151432549856.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1459?page=all ] Kathey Marsden updated DERBY-1459: ---------------------------------- Attachment: autoloading_scenarios.html Document to show autoloading scenarios that need to be handled for 10.2 > Early load of Derby driver with JDBC 4.0 autoloading can lead to derby properties not being processed or derby boot time actions consuming resources when a connection is made with another driver > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1459 > URL: http://issues.apache.org/jira/browse/DERBY-1459 > Project: Derby > Type: Bug > Components: JDBC, Services > Versions: 10.2.0.0 > Environment: JDK 1.6 > Reporter: Kathey Marsden > Priority: Critical > Fix For: 10.2.0.0 > Attachments: autoloading_scenarios.html > > The addition of support for autoloading of Derby drivers, DERBY-930, caused two potentially serious regresions for applications. > 1) Early load of driver can mean that derby system properties, such as derby.system.home may not be processed by the driver because they are set after the driver is loaded. > 2) Early load of the driver can mean boot time operations, such as starting network server with derby.drda.startNetworkServer can happen even when Derby is never used if a connection is made to another database such as Oracle. > The attached file autoloading_scenarios.html shows scenarios that show these regressions plus another case that will regress if boot time operations are moved to the first Derby embedded connection. I don't know what solution is available that would handle all three cases. -- 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