Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TomCat + Connector/J + MySQL problem

843854Mar 18 2003 — edited Apr 2 2003
Hi,

I've been searching the mailist but can't seem to find a problem similar to what i'm encountering.

First here's a background of my setup

MySQL server = mysql-server-3.23.54a-3
TomCat = jakarta-tomcat-4.1.18
ODBC = Connector/J 3.0.6-stable
Base OS = RedHat Linux 7.3
JSDK = j2sdk1.4.1_02
$JAVA_HOME = /path/to/j2sdk1.4.1_02
$CATALINA_HOME = /path/to/jakarta-tomcat-4.1.18

Im making a program which will need to get the data from MySQL, All TOMCAT documents i've read all said to put my ODBC Connector (mysql-connector-java-3.0.6-stable-bin.jar) under $CATALINA_HOME/common/lib, but if I put the file there, TOMCAT is not starting, don't even have anything on the logfile. I also tried putting the connector/j on my application lib ($CATALINA_HOME/webapps/MYAPPLIC/WEB-INF/lib), Tomcat runs but my application is not. I also tried playing with $CLASSPATH to no avail.

Anyone experienced this ? or am i just missing something ?

Thanks,
Mark
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2003
Added on Mar 18 2003
6 comments
194 views