Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Errors with the Oracle Test class JdbcCheckup. Help

0 views
Skip to first unread message

Dave

unread,
Oct 1, 2002, 4:12:09 PM10/1/02
to
Hi,

I have a large host of errors with this sample class that Oracle
provided. It tests that the JDBC has been set up correctly. It hasn't
as it failed.
I have added the
D:\Oracle\Ora817\jdbc\lib\
path to the enviroment variable
CLASSPATH.
I'm using Oracle 817 client on Windows2K

Can you guys help. Here are the error messages.

Thanks
D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Projects\Zips\Java\testjdbc>java JdbcCheckup
Please enter information to test connection to the database
user: tokyo
password: tokyo
database(a TNSNAME entry): imsuni
Connecting to the database...Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError: do_open
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at JdbcCheckup.main(JdbcCheckup.java, Compiled Code)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

AV

unread,
Oct 1, 2002, 8:55:43 PM10/1/02
to
This error is something to do with compiled
dll files for OCI driver.
Or necessary dll(s) are not visible
or they are of wrong version. Try to
copy them into c:\windows or system32.

Also, there is alternative way to use THIN
driver. otn.oracle.com has a lot of samples.

AlexV.

"Dave" <dfbr...@yahoo.com.au> wrote in message
news:31893d47.02100...@posting.google.com...

0 new messages