Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 12201 invoked from network); 19 Jul 2009 01:24:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jul 2009 01:24:22 -0000 Received: (qmail 55823 invoked by uid 500); 19 Jul 2009 01:25:24 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 55725 invoked by uid 500); 19 Jul 2009 01:25:24 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 55714 invoked by uid 99); 19 Jul 2009 01:25:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 01:25:24 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 01:25:12 +0000 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.20]) by usea-naimss2 with InterScan Message Security Suite; Sat, 18 Jul 2009 20:24:50 -0500 Received: from usea-nagw3.na.uis.unisys.com ([129.224.72.55]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 18 Jul 2009 20:24:50 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw3.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 18 Jul 2009 20:24:50 -0500 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Sat, 18 Jul 2009 20:24:49 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Sat, 18 Jul 2009 20:24:46 -0500 Subject: RE: tomcat 6 database pooling, DataSource returning NULL connection Thread-Topic: tomcat 6 database pooling, DataSource returning NULL connection Thread-Index: AcoIDb//yBDWNeBgSqq+NTdvUV2w6QAATxDw Message-ID: <0AAE5AB84B013E45A7B61CB66943C172296FA41BD7@USEA-EXCH7.na.uis.unisys.com> References: <4e6e55300907181727y4b157af8g69bc6496ee7d72d2@mail.gmail.com> <4e6e55300907181730l776c450aweaf5ffc21b57f0e9@mail.gmail.com> <427155180907181741r503c2edau4e81968f33bcaaf2@mail.gmail.com> <4e6e55300907181810s471bce0fg5ffdcd818bd3f630@mail.gmail.com> In-Reply-To: <4e6e55300907181810s471bce0fg5ffdcd818bd3f630@mail.gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2009 01:24:50.0007 (UTC) FILETIME=[B5BCEE70:01CA080F] X-Virus-Checked: Checked by ClamAV on apache.org > From: Lucas Vickers [mailto:lucasvickers@gmail.com] > Subject: Re: tomcat 6 database pooling, DataSource returning NULL > connection >=20 > I am doing a static install and restarting my tomcat each time I=20 > make a file change, so I do not think this is the issue. Actually, that's exactly the procedure that can cause the problem. When th= e webapp is first loaded, Tomcat copies the webapp's META-INF/context.xml f= ile to conf/Catalina/[host]/[appName].xml. As long as the conf/Catalina/[h= ost]/[appName].xml file exists, it will override the one in META-INF/contex= t.xml. Proper undeployment will remove the copied element; just = copying over a new version of the webapp will not. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org