tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik LaBianca <>
Subject RE: Stupid question - cannot load servlet name - mm.mysql related ??
Date Thu, 08 Feb 2001 16:55:22 GMT
Do you perhaps have an older version of the mysql driver in your classpath
before the new ones? Maybe it's sitting in jdk1.3/jre/lib/ext?

I'd try writing a short console program just to open a connection to the db
and get that to run, then at least you you where your problem lies for sure.
Then you can figure out what part of the classpath is getting munged by

Note that I believe the scripts munge your classpath, so you might
want to try putting mm.mysql.jar in your tomcat/lib folder.

Good luck

-----Original Message-----
From: Cato, Christopher []
Sent: Thursday, February 08, 2001 10:02 AM
To: ''
Subject: Stupid question - cannot load servlet name - mm.mysql related


I have two identical linux redhat 6.2 machines, both running TomCat
On machine A, I've been testing out a system I'm developing. It runs okay on
that machine. Now I want it on machine B instead. 

So, I move the sources to machine B (together with the script
(which works fine on machine A) and all the other files). I compile without
errors, Ant moves the classes and web.xml into the correct directories.

when I start TomCat I get a whole bunch of "cannot load servlet name:
<whatever name>" messages. Looking at the other logs, It seems to load and
initialize the servlets okay.

So, I try to connect to TomCat. Every servlet which does not use the
mm.mysql db driver works ok. Those using it wont work. It just states
"cannot load database driver". This message comes from a try clause around
the driver loader in each servlet. 

Now, I've moved the mysql drivers to machine B and added the
mm.mysql-2.0.2.bin.jar to the classpath.

Why does it still fail? Any ideas? I'm stuck. *sigh*


Christopher Cato

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

View raw message