Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 45282 invoked from network); 20 Jun 2006 23:47:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2006 23:47:19 -0000 Received: (qmail 97007 invoked by uid 500); 20 Jun 2006 23:47:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96982 invoked by uid 500); 20 Jun 2006 23:47:18 -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 96973 invoked by uid 99); 20 Jun 2006 23:47:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 16:47:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.152] (HELO e34.co.us.ibm.com) (32.97.110.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 16:47:17 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5KNkuDK014035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 20 Jun 2006 19:46:56 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k5KNkXpt294364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Jun 2006 17:46:34 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k5KNkt3H002081 for ; Tue, 20 Jun 2006 17:46:55 -0600 Received: from [127.0.0.1] (sig-9-76-198-209.mts.ibm.com [9.76.198.209]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k5KNktWB002063 for ; Tue, 20 Jun 2006 17:46:55 -0600 Message-ID: <449888ED.4050807@apache.org> Date: Tue, 20 Jun 2006 16:46:53 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-1428) Generating derby properties on the fly can lead to non-deterministic engine startup behavior References: <30795067.1150840530637.JavaMail.jira@brutus> <44987231.7050902@sun.com> In-Reply-To: <44987231.7050902@sun.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii 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 David Van Couvering wrote: > I think the issue of derby.system.home and two databases running in the > same VM is a symptom of a wider problem where I am not convinced we > actually work running two instances in the same VM. Derby makes use of > a lot of system properties; if you have two instances, it seems to me > that they will always be at war with each other when trying to configure > Derby. > > I would like to bet that if we built a test trying to do this sort of > thing we would quickly find that it's problematic. But not actually > having done this test myself, I can't say for sure. Has anyone tried this? I think you are right, Derby uses system properties, well documentated that it does, and there is only a single set of system properties. Thus even with using classloading to have two Derby instances they are going to share (probably not very happily) the same configuration for certain items, like derby.log. Dan.