wood burning stoves 2.0*
The moose likes Servlets and the fly likes 'ocijdbc8.dll error' Any idea what's wrong Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark " Watch " New topic
Author

'ocijdbc8.dll error' Any idea what's wrong

Neha Sharma
Ranch Hand

Joined: Jul 13, 2001
Posts: 126
Hi Art,
I'm testing JDBC thin driver with oracle supplied code on my machine, which does not have oracle 8i. But I'm trying to connect to a Oracle 8i server.
I'm getting following error(I've pasted the full commandline statements here), do you have an idea.
Thanks
Neha
C:\Neha>java JdbcCheckup
Please enter information to test connection to the database user: muser
password: muser
database(a TNSNAME entry): 13.231.232.222:1521:MKBVOL
Connecting to the database...Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 (ocijdbc8.dll) in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1380)
at java.lang.Runtime.loadLibrary0(Runtime.java:766)
at java.lang.System.loadLibrary(System.java:849)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:246)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:523)
at java.sql.DriverManager.getConnection(DriverManager.java:183)
at JdbcCheckup.main(JdbcCheckup.java:35)
a hui
Ranch Hand

Joined: Oct 14, 2000
Posts: 39
Have you checked if your class path has a reference to the Oracle package?
AH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 'ocijdbc8.dll error' Any idea what's wrong
 
Similar Threads
exception while connecting to the database
java.sql.SQLException: Io exception: Unknown host specified
Java, oracle on NT
java.lang.UnsatisfiedLinkError: do_open
JDBC problem with weblogic.