Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 18206 invoked from network); 15 Jul 2003 22:06:04 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jul 2003 22:06:04 -0000 Received: (qmail 19573 invoked by uid 97); 15 Jul 2003 22:08:39 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 19566 invoked from network); 15 Jul 2003 22:08:38 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Jul 2003 22:08:38 -0000 Received: (qmail 16730 invoked by uid 500); 15 Jul 2003 22:05:49 -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 16715 invoked from network); 15 Jul 2003 22:05:49 -0000 Received: from coral.tci.com (HELO dapsang.tci.com) (198.178.8.81) by daedalus.apache.org with SMTP; 15 Jul 2003 22:05:49 -0000 Received: from entexchimc03.broadband.att.com (localhost [127.0.0.1]) by dapsang.tci.com (8.12.9/8.12.9) with ESMTP id h6FM5n04004363 for ; Tue, 15 Jul 2003 16:05:55 -0600 (MDT) Received: by entexchimc03.broadband.att.com with Internet Mail Service (5.5.2653.19) id <304GGNDD>; Tue, 15 Jul 2003 16:05:49 -0600 Message-ID: <41669DC6FE3B80449A33A4DD46DB370A0224F201@Entcoexch15> From: "Raible, Matt" To: "'tomcat-user@jakarta.apache.org'" Subject: RE: cannot load db driver in Tomcat 5.0.4 Date: Tue, 15 Jul 2003 16:05:45 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I figured it out. It looks like the context.xml file must now go in $CATALINA_HOME/conf/Catalina/localhost, rather than $CATALINA_HOME/webapps. Doh! Now I have to figure out a way to modify my "setup-tomcat" task to detect and deploy appropriately for Tomcat 5. Here is the relevant part: Copying ${webapp.name}.xml to ${tomcat.home}/webapps Matt -----Original Message----- From: Raible, Matt Sent: Tuesday, July 15, 2003 3:17 PM To: 'tomcat-user@jakarta.apache.org' Subject: RE: cannot load db driver in Tomcat 5.0.4 I found that adding log4j.jar to $CATALINA_HOME/common/lib solved my problem, but now I get the following error when I start Tomcat and there is no logging to catalina.out: log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). log4j:WARN Please initialize the log4j system properly. Any help is appreciated. Matt -----Original Message----- From: Raible, Matt Sent: Tuesday, July 15, 2003 2:53 PM To: 'tomcat-user@jakarta.apache.org' Subject: cannot load db driver in Tomcat 5.0.4 I'm trying to upgrade to Tomcat 5.0.4 and I'm getting the lovely error that I love so much: java.sql.SQLException: Cannot load JDBC driver class 'null' This app works beautifully in Tomcat 4.1.24 and I can put the exact same directory, app.xml and jdbc driver in common/lib and it works. Has anything changed configuration-wise in 5.0.4? Thanks, Matt --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org