You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Riaan Oberholzer <ri...@yahoo.com> on 2003/06/18 09:08:50 UTC

java.sql.SQLException: Cannot load JDBC driver class 'null'

I cannot seem to set up a datasource correctly. I get
the "java.sql.SQLException: Cannot load JDBC driver
class 'null'" exception. I have read numerous threads
with things to check, but still get it. I deploy my
application using ant and the catalina-ant.jar.

I have the mysql jar in the /common/lib directory
The server.xml is setup correctly (url, driverclass,
etc)
So is the web.xml

I have checked and double checked, no luck. If someone
who posted this earlier and eventually got it fixed
can maybe send me a step-by-step solution or things to
look for, I would appreciate it.

Why can't I set up a general datasource that can be
used by all applications and does not need to be
configured in the web.xml? And why should I configure
the datasource in server.xml and not the admin console?

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org