commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n ull'
Date Mon, 06 Jan 2003 17:10:05 GMT
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

"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-----Original Message-----
From: Sean Schofield [] 
Sent: January 6, 2003 11:58 AM
To: Jakarta Commons Users List
Subject: Re: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n

>Place your classes12.jar in tomcat's common/lib
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:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message