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!

no ocijdbc9 in java.library.path

258410Apr 16 2002
I am running an app against Oracle 8.17 with an OCI connection using ocijdbc8.dll. The web server is Tomcat 3.2.3. The app has no problem connecting to the database.

If I run against Tomcat 4 I get the error

java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:294)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:307)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:517)

I do not have Oracle 9i installed so don't know why it is trying to use ocijdbc9.

When I switch back to Tomcat 3 there is no problem.

The Classpath has the Classes12.zip for Oracle 8.1.7

Can anybody shed any light on this??

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 14 2002
Added on Apr 16 2002
0 comments
165 views