You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2001/02/08 17:50:54 UTC

RE: Stupid question - cannot load servlet name - mm.mysql related ??

>I have two identical linux redhat 6.2 machines, both running TomCat
>standalone.
>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. 

Same config file also ?

>So, I move the sources to machine B (together with the build.sh 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.

Ant is a fine stuff.

>BUT, 
>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.

mm.mysql is now at 2.0.4
Don't forget also to use a pool like Turbine-Pool on other
like DBConBroker