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