I am seeing many jars files in Oracle jdbc download page http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
I have downloaded the following drivers: Download Jdbc Drivers For Oracle 11g
I am trying to use it in my Tomcat 7 version. I added all these jar files to $CATALINA_HOME/lib folder but after couple of days my Tomcat throws this error: The download contains README-JDBC, README-UCP, jdbc-demo.tar, ucpdemos.jar, Javadoc-JDBC.zip, ucp_javadoc.zip, and README.txt that has more information about the contents of the tar file. Use 'sha1sum ' or 'shasum ' command line utility on Linux to verify the integrity of the downloaded file. The TAR archive contains the latest 11.2.0.4 JDBC Thin driver (ojdbc6.jar and ojdbc5.jar), Universal Connection Pool (ucp.jar), other companion jars, and README that has more information about the contents of the tar file. Download Jdbc Drivers For Oracle Softwaremy oracle version is Java Oracle Jdbc DriverNow question came in my mind that I may adding in my tomcat lib folder wrong jars. I mean may be I need 1-2 jar files but adding 5 aforementioned jdbc jars that may have duplicate classes. Please advise
RaakhRaakh
1 AnswerYou just need this one: ojdbc6.jar. Download Jdbc Drivers For Oracle Windows
Taken from here: Oracle JDBC FAQ
streetturtlestreetturtle
Not the answer you're looking for? Browse other questions tagged javaoracletomcatjdbcjar or ask your own question.
0 Comments
Leave a Reply. |