Where to put the MySql Connect/J driver in appache
I was previously using Apache 4 for my servlets ..now I have Apache tomcat 6...when I look at the install dir (C:\Program Files\Apache Software Foundation) i do not see the common/lib folder where I would put the connector / j driver to connect to MySql... in which folder of tomcat would i put this file now ?
Thnx x 10
[333 byte] By [
paulchwda] at [2007-11-27 4:55:05]

# 1
well make sure it is there inside the classpath of your application....
%CATALINA_HOME%\lib
or
%CATLINA_HOME%\webapps\web_application_name\WEB-INF\lib
this is where you have to place mysql-connector-java-5.0.3-bin.jar
however, you can use the below link to findout how to configure connection pooling and install JDBC driver(Mysql & Oracle) on more recent versions of tomcat.
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
hope that might help :)
REGARDS,
RaHuL