From tomcat-user-return-92582-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Wed Feb 11 17:45:34 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 21521 invoked from network); 11 Feb 2004 17:45:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Feb 2004 17:45:34 -0000 Received: (qmail 53961 invoked by uid 500); 11 Feb 2004 17:43:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 53906 invoked by uid 500); 11 Feb 2004 17:43:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 53830 invoked from network); 11 Feb 2004 17:43:10 -0000 Received: from unknown (HELO cardinal.mail.pas.earthlink.net) (207.217.121.226) by daedalus.apache.org with SMTP; 11 Feb 2004 17:43:10 -0000 Received: from dewey.psp.pas.earthlink.net ([207.217.78.219]) by cardinal.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AqyO6-0001n0-00 for tomcat-user@jakarta.apache.org; Wed, 11 Feb 2004 09:43:02 -0800 Message-ID: <1625594.1076521393598.JavaMail.root@dewey.psp.pas.earthlink.net> Date: Wed, 11 Feb 2004 11:43:13 -0600 (GMT-06:00) From: Merrill Cornish Reply-To: Merrill Cornish To: Tomcat Users List Subject: Re: Another Try at MySQL Connection Pooling Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, I THINK I've figure out that MySQL's Connector/J jar worked in jre/lib/ex when I was using DriverManager because only MySQL needed to see it, and it knew to look in jre/lib/ex. However, with DataSource, I'm assuming it's Tomcat who needs to see it, so it needs to be in Tomcat's common/lib. So I put Connect/J's jar in common/lib--and it still failed in the same manner. I'm wondering if the actual error message MIGHT be giving a clue. It says "Name jdbc is not bound in this Context" when the only thing that EVER appears in any of the XML is "jdbc/TimesheetsDB". * Does this imply that "jdbc/TimesheetsDB" is wrong and the entries should be something like simply "TimesheetsDB"? * Does this imply that "jdbc" has to be declared in some manner before "jdbc/TimesheetsDB" can be declared? Merrill --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org