Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> oci8jdbc STILL not working

oci8jdbc STILL not working

From: <afrancis_at_my-dejanews.com>
Date: Tue, 13 Apr 1999 16:26:04 GMT
Message-ID: <7evr6i$76p$1@nnrp1.dejanews.com>


Hi,

I have an oracle8.0.5 db on solaris 2.7 jdk1.2

I have installed the oci8 jdbc driver on the box (all it seemed to do was put liboci805jdbc.so in the /appl/oracle/product/8.0.5/lib directory.

I explicitly set LD_LIBRARY_PATH to /appl/oracle/product/8.0.5/lib in a run member.

When I execute I get the following: (notice the reference to oci7 in the midst of the dump..I wonder why that is?)

Exception in thread "main" java.lang.UnsatisfiedLinkError: no oci805jdbc in

java.library.path  at java.lang.Throwable.fillInStackTrace(Native Method)  at
java.lang.Throwable.<init>(Throwable.java:94)  at
java.lang.Error.<init>(Error.java:50)  at
java.lang.LinkageError.<init>(LinkageError.java:43)  at
java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)  at
java.lang.ClassLoader.loadLibrary(Compiled Code)  at
java.lang.Runtime.loadLibrary0(Runtime.java:471)  at
java.lang.System.loadLibrary(System.java:745)  at
oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:142)  at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)  at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)	at
java.sql.DriverManager.getConnection(Compiled Code) at java.sql.DriverManager.getConnection(DriverManager.java:137) at ProcessOrder.main(Compiled Code)

Beyond making sure that the liboci805jdbc.so file is in the path designated by the LD_LIBRARY_PATH setting, is there anything else I have to do?

Could it be that the dba did not uninstall the oci7 stuff? Is the classes111.zip different between oci7 and oci8?

Any and all help is gratefully accepted. Thanks.

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Apr 13 1999 - 11:26:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US