Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 19164 invoked by uid 98); 6 Jan 2003 17:11:32 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 19087 invoked from network); 6 Jan 2003 17:11:29 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 6 Jan 2003 17:11:29 -0000 Received: (qmail 95695 invoked by uid 500); 6 Jan 2003 17:10:09 -0000 Received: (qmail 95687 invoked from network); 6 Jan 2003 17:10:09 -0000 Received: from www.shareowner.com (HELO shareowner.com) (66.46.24.147) by daedalus.apache.org with SMTP; 6 Jan 2003 17:10:09 -0000 Received: from exchange.int.shareowner.com ([66.46.24.163]) by shareowner.com (8.11.6/8.11.6) with ESMTP id h06Gw5904090 for ; Mon, 6 Jan 2003 11:58:05 -0500 Received: by exchange.int.shareowner.com with Internet Mail Service (5.5.2653.19) id ; Mon, 6 Jan 2003 12:10:06 -0500 Message-ID: From: pqin@shareowner.com To: commons-user@jakarta.apache.org Subject: RE: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n ull' Date: Mon, 6 Jan 2003 12:10:05 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2B5A6.75790820" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2B5A6.75790820 Content-Type: text/plain I think it depends on the container. Mine is Tomcat 4.1.x. There are bunches of jars in $CATALINA_HOME/common/lib: - classes12.JAR (not ZIP) - jdbc2_0-stdext.jar - commons-dbcp.jar - commons-pool.jar In my web app's WEB-INF/lib, I only include struts.jar Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -----Original Message----- From: Sean Schofield [mailto:news@schof.com] Sent: January 6, 2003 11:58 AM To: Jakarta Commons Users List Subject: Re: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n ull' > > >Place your classes12.jar in tomcat's common/lib > >Regards, > > >PQ > It sounds like he already tried that. What about your web app? Is classes12.jar in that lib directory as well? If so, this will likely be your problem. This happened to me once and I just excluded the classes12.jar (actually i think mine was classes12_01.jar) from the web app when building the WAR file. - sean -- To unsubscribe, e-mail: For additional commands, e-mail: ------_=_NextPart_001_01C2B5A6.75790820--