aspose file tools*
The moose likes JDBC and the fly likes unsatsified link error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "unsatsified link error" Watch "unsatsified link error" New topic
Author

unsatsified link error

suresh nagalingam
Greenhorn

Joined: Nov 18, 2002
Posts: 1
Hi there,
i can able to run in webserver by using oracle oci8. i cannot able to eun as a standalone program.If i changed the "oci8 to thin" it is working properly.so please give me a solution.
thank in advance.
regards
suresh.n
--------------
the error is below
java.lang.UnsatisfiedLinkError: do_open
at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at com.mxic.tdsplus.TestDB.main(TestDB.java:16)
Exception in thread "main"
Kevin Mukhar
Ranch Hand

Joined: Nov 28, 2000
Posts: 83
Originally posted by suresh nagalingam:
the error is below
java.lang.UnsatisfiedLinkError: do_open
at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)

The OCI driver relies on native libraries to do its work. Whenever you use the OCI driver you must have the appropriate native library on the PATH (ocijdbc8.dll for Win) or LD_LIBRARY_PATH (libocijdbc8.so for Solaris).
The thin driver is pure Java which is why there is no problem (it doesn't need to load a native library).
See also http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_19_
[ November 19, 2002: Message edited by: Kevin Mukhar ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unsatsified link error