I\'ve been trying to obtain the Driver class for JDBC connection to MySQL. The workstation is running on Linux, Fedora 10. I have manually set up the classpath variable for
This shows that I've added the lastest mysql connection jar archive to my CLASSPATH variable.
Too bad for you that Tomcat (and all other Java EE app servers) ignore any system CLASSPATH environment variable.
You are supposed to add JDBC driver JARs in either one of two places:
I believe that Tomcat 6.x requires that you put JDBC driver JARs in /lib.
You may want to learn how to package up a war file, as that would be the simplest way to install the web application, if you are going to have several files.
Your jar files would go in the lib directory, and would be found easily by tomcat.