Find the mysql-connector-java-5.0.8.jar file in the download you
received from mysql.com. Put only that file in tomcat's lib directory.
Remove the rest from tomcat's lib directory and things should be good to
go. If the mysql .jar file is located anywhere else in your tomcat
installation including any of your webapps, please remove it from all
those other places. It can be either in tomcat's lib directory OR your
webapp's WEB-INF/lib directory -- never both.
--David
cuco2772 wrote:
Where is the jdbc driver normally located ? I did a 'locate jdbc' and found
it in a bunch of places, ie,
/usr/lib/jvm/java-6-sun-1.6.0.00/imq/demo/jdbc/config.properties.mysql
Would it be in this directory in tomcat ?:
[EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/lib/mysql-connector-java-5.0.8
(I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, but
not in
mysql-connector-java-5.0.8.
Caldarale, Charles R wrote:
From: cuco2772 [mailto:[EMAIL PROTECTED]
Subject: Re: how to configure (server.xml) for mysql dev with
tomcat/JDBC
I gathered from that doc that you would put a <Context>
element directly in conf/context.xml, and not in
server.xml, as previously.
No. The <Context> element in conf/context.xml is for attributes that
are common to all webapps deployed in Tomcat. An individual webapp's
<Context> element should be in the webapp's META-INF/context.xml file.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]