Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 6466 invoked from network); 4 Jun 2008 16:50:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 16:50:41 -0000 Received: (qmail 94158 invoked by uid 500); 4 Jun 2008 16:50:42 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 94130 invoked by uid 500); 4 Jun 2008 16:50:42 -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 94119 invoked by uid 99); 4 Jun 2008 16:50:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 09:50:42 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [196.25.240.74] (HELO ctb-mesg4.saix.net) (196.25.240.74) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 16:49:52 +0000 Received: from animal (dsl-243-77-159.telkomadsl.co.za [41.243.77.159]) by ctb-mesg4.saix.net (Postfix) with SMTP id 116FD3A55 for ; Wed, 4 Jun 2008 18:50:04 +0200 (SAST) Message-ID: <01d801c8c663$1595a610$0300000a@animal> From: "Johnny Kewl" To: "Derby Discussion" References: <484504EE.1010506@Sun.com> <001501c8c63b$78bab050$0300000a@animal> <48469391.5050902@sun.com> <012d01c8c649$5faf85f0$0300000a@animal> <4846A57B.2050700@sun.com> Subject: Re: embedded db and connection pooling Date: Wed, 4 Jun 2008 18:50:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Antivirus: avast! (VPS 080602-0, 2008/06/02), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Alan Burlison" To: "Derby Discussion" Sent: Wednesday, June 04, 2008 4:23 PM Subject: Re: embedded db and connection pooling > Johnny Kewl wrote: > >> I'm not sure if the driver makes any diffs, as long as when you undeploy >> the web app, TC lets the dB go, and when you redeploy that web app it >> makes the new connection pool, I'm not sure the driver makes any diffs. >> I'm guessing... but I think the core issue is to stop TC making those >> connections "when it starts", ie it must not be global, because then it >> holds the connections for other webapps. >> If the driver remains visible... not sure if thats a problem, its just a >> library in a classpath? > > The issue is that you don't have a truly 'stand alone, drop in & deploy' > webapp if it requires you to install stuff into the container's lib > directory and fiddle with the server.xml file before deploying the app. Ah, yes true, can make the webapp pools redeployable, but what do you do for the first webapp, and the server setup. You right, JNDI and embedded database are actually contradictory idea's, as far as plug and play goes. Thanks