Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to Oracle 9i Error

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
US
Hello,

We just converted from Oracle 8 Client to Oracle 9i. After installing the Oracle 9i client, my jsps generates/displays the error: java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path.
I tried to remedy this by downloading the oracle jdbc driver ojdbc14.jar, ojdbc14_g.jar, nls_charset12.zip, classes12.zip, classes111.zip. All of these files are in directory C:\oracle\ora92\jdbc and each pathname is included in my CLASSPATH variable.

My java code is as follows:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection ("jdbc:eek:racle:eek:ci:mad:" + dbname, username, password);


2)___________

I alternate the last statement with this code(stated below):
Connection conn = DriverManager.getConnection ("jdbc:eek:racle:thin:mad:" + dbname, username, password);

This line generates the error java.lang.NullPointerException.

Thanks for your help.

Tina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top