From derby-user-return-14459-apmail-db-derby-user-archive=db.apache.org@db.apache.org Thu Jul 12 08:34:15 2012 Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3515BDBF5 for ; Thu, 12 Jul 2012 08:34:15 +0000 (UTC) Received: (qmail 24140 invoked by uid 500); 12 Jul 2012 08:34:13 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 23212 invoked by uid 500); 12 Jul 2012 08:34:02 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 23097 invoked by uid 99); 12 Jul 2012 08:33:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2012 08:33:58 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_HI,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knut.hatlen@oracle.com designates 141.146.126.227 as permitted sender) Received: from [141.146.126.227] (HELO acsinet15.oracle.com) (141.146.126.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2012 08:33:47 +0000 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6C8XOWc025837 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 12 Jul 2012 08:33:25 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6C8XN89022416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Jul 2012 08:33:24 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6C8XN1Y000994 for ; Thu, 12 Jul 2012 03:33:23 -0500 Received: from localhost (/10.172.139.141) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 12 Jul 2012 01:33:23 -0700 From: Knut Anders Hatlen To: "Derby Discussion" Subject: Re: Disconnecting Derby and TDD References: Mail-Copies-To: never Mail-Followup-To: "Derby Discussion" Date: Thu, 12 Jul 2012 10:35:03 +0200 In-Reply-To: (Matthew Hauck's message of "Wed, 11 Jul 2012 22:58:41 -0700") Message-ID: User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Matthew Hauck writes: > I am writing about the well known error: "Failed to start database > '...' with class loader ..." I realize that you cannot have two > simultaneous connections from two different JVMs to a derby embedded > database. My question is whether or not it is possible to disconnect > / "unload" / "unboot" one connection in order to load up the other > one, etc. Or does the first JVM have to entirely stop before the next > one can make a connection? Hi Matt, You can shut down a database without stopping the JVM, and then it should be possible to boot it in another JVM. Details here: http://db.apache.org/derby/docs/10.9/devguide/tdevdvlp40464.html -- Knut Anders