Home » Developer & Programmer » Precompilers, OCI & OCCI » Unsatisfied Link Error with OCI client on HP UX 11i
Unsatisfied Link Error with OCI client on HP UX 11i [message #94345] Fri, 13 August 2004 06:12 Go to next message
Sasi Reddy
Messages: 1
Registered: August 2004
Junior Member
Dear Freinds,


OS Version: HP-UX atihpuxi B.11.22 U ia64 (ta)

Oracle 9i - Server Version : Oracle9i Enterprise Edition Release - 64bit Production
JServer Release - Production

JDBC driver version is - ojdbc14.jar

JAVA - J2SE 1.4.01








I have written a small java program to test OCI driver, that just connects to the DB and closes connection.

Its working fine with thin driver but failing with OCI resulting the following exception

Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/oracle9i/ora92/lib/libocijdbc9.so: specified handle or index
is not valid.
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1489)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:832)
        at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
        at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:349)
        at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:493)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:317)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:169)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:108)
        at JDBCOCITest.dbConnection(JDBCOCITest.java:35)
        at JDBCOCITest.main(JDBCOCITest.java:20)


please can any body help me to solve this problem.


Re: Unsatisfied Link Error with OCI client on HP UX 11i [message #94454 is a reply to message #94345] Fri, 19 November 2004 07:34 Go to previous message
Stephen Gregg
Messages: 1
Registered: November 2004
Junior Member
Did you ever get a solution to this? I'm currently facing the same problem with 10g


Previous Topic: acu4gl
Next Topic: pro c+ compiler
Goto Forum:

Current Time: Wed May 25 11:14:17 CDT 2022