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 ocijdbc8 in java.library.path (with Servlet under Tomcat)

258028Jul 9 2002
Hello,

my problem is the following: I must use the OCI-Driver of the
Oracle-Client 8.1.7 because I use special PL/SQL-functions.

I get the error message:

java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path

when I try to start my servlet within netscape. Before this I'm
starting the tomcat servlet engine and make the following
path known to tomcat:
java.library.path=/usr/lib:/lib:/share/ams/oracle/ora817-SunOS-5.7/lib:/share/ams/oracle/ora817-SunOS-5.7/jdbc/lib:/share/ams/oracle/ora817-SunOS-5.7/lib64

In this line are the necessary paths to find the libocijdbc8.so
library.

Why does the servlet still have problems to find the driver?
In addition, I set my java.library.path within the servlet itself.

Do you know where is the crux of the matter?

Thank you,
Christian Schmidbauer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2002
Added on Jul 9 2002
1 comment
307 views