Problem while getting database connection in solaris7.0
naga bush
Greenhorn
Joined: Jan 29, 2001
Posts: 7
posted
0
Hi., I am getting problem when connecting to oracle 8i database through java program. os is sun solaris7.0. Class.forName("oracle.jdbc.driver.OracleDriver"); DriverManager.getConnection("jdbc racle ci8@sundb","username","password");i have given username and password according to software installation.
The driver is loaded . But the error is while connecting to database. Exception in thread "main" java.lang.UnsatisfiedLinkError . no ocijdbc8 in java.library.path. Is it classpath problem. But i am unable to find in which folder all the ocidrivers are available. Please help if u have encounter the same problem.
naga bush
Greenhorn
Joined: Jan 29, 2001
Posts: 7
posted
0
Hi.,I got the solutions. I tried with thin driver and the programs is working fine.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Problem while getting database connection in solaris7.0