tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wynkoop, Robert M" <>
Subject RE: Cannot load JDBC driver class 'null'
Date Thu, 11 Sep 2003 12:54:21 GMT
I'm having the same problem.  From what I read the most common problem is
that you jdbc driver jar is not in <tomcatehome>/common/lib dir.  Apparently
if its only the the web apps ../WEB-INF/lib the tomcat runtime does not have
access to it.  But, I still have the same problem.  I know the jar file is
getting used from ../common/lib because I can delete it when Tomkitty is
fired up.

What version of Tomcat are you using.  I'm using V4.1.27LE(No sax parser
included.) JDK 1.3.  I'm currently doing a new install of tomcat LE.  If
that does not work I'm trying Tomcat standard from


Rober Wynkoop
-----Original Message-----
From: Ben Anderson []
Sent: Thursday, September 11, 2003 7:17 AM
Subject: Cannot load JDBC driver class 'null'

Ok, I know this topic has been posted many times, but I can't find anything 
to help.

I have OracleDriver in [$CATALINA_HOME]/common/lib
here's my server.xml
<Resource name="myDS" scope="Shareable" type="javax.sql.DataSource" 
    <ResourceParams name="myDS">
        <value>select user from dual;</value>

and my web.xml:


in the administrative tool:
the top level Resources->DataSources looks ok as MyDS is listed there
but the /my_context->Resources->Datasources gives:
org.apache.jasper.JasperException: Exception retrieving attribute 

and the (when it tries to use myDS):
java.sql.SQLException: Cannot load JDBC driver class 'null

Any help would be great - I've been trying everything - reloading with 
different configurations about 50 times - looking through books, mailing 

Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message