mysql - JDBC Connector with Tomcat6 and CentOS5? -


i've got 2 servers, 1 centos , other debian.

in debian i've installed tomcat6 last mysql in lenny. downloaded mysql jdbc driver , drop in $catalina_home/lib. worked perfectly.

now, in centos5, want same doesn't work.

i've installed tomcat6 (it's working) , mysql-server (it's working too).

i've tried same /lib folder , nothing (of course i've got same jdk, , same tomcat version).

the error same:

org.apache.tomcat.dbcp.dbcp.sqlnestedexception: cannot load jdbc driver class 'com.mysql.jdbc.driver' 

it's doesn't find mysql connector, it's in place.

any suggestion?

resolved!

before of put manually connector in $catalina_home/lib installed yum mysql-connector-java package.

i've deleted /usr/share/java/ bin, restarted tomcat, , worked!.

thanks all!


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -