You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by pq...@shareowner.com on 2003/01/06 18:10:05 UTC

RE: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n ull'

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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

Re: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n ull'

Posted by David Hemingway <db...@kooee.com.au>.
My jar setup is basically the same as yours. I have the default jars in my
common/lib directory + dbcp + pool + classes12.jar. None of these are in my
WEB-INF/lib directory

----- Original Message -----
From: <pq...@shareowner.com>
To: <co...@jakarta.apache.org>
Sent: Tuesday, January 07, 2003 4:10 AM
Subject: RE: DBCP: java.sql.SQLException: Cannot load JDBC driver class 'n
ull'


> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>