Hi,

I have a problem with tomcat and the oracle oci driver. This only occurs if
I use jdk 1.4 and works fine with jdk1.3.

The Oracle oci driver needs a native library (ocijdbc8.dll). This library is
on my PATH and tomcat loads it fine if I place the oracle java libs
(classes12.jar) in WEB-INF/lib of my project. But because native libraries
may only be loaded once you suggest to put it in common/lib. With jdk1.3
this works, with jdk1.4 I get the following error:

java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
        at java.lang.Runtime.loadLibrary0(Runtime.java:772)
        at java.lang.System.loadLibrary(System.java:832)
        at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
        at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:246)
        at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
[...]

Any ideas? Is this a bug?

My setup:

Windows 2000 Prof / Tomcat 4.0.3/4.0.4b2 / sun jdk1.4 / oracle client 8.1.7

Regards
Christoph


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to