Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> New Oracle driver connect problem

New Oracle driver connect problem

From: Martin Smith <mfsmith_at_erols.com>
Date: 1997/07/07
Message-ID: <33C113E5.464E@erols.com>#1/1

I'm having trouble getting the new Oracle type 4 driver ("thin") to work.

I have installed the class files locally (on the client side) for the moment, in several places zipped and unzipped since I'm a bit foggy on the operation of the CLASSPATH and other procedures for finding classes . . . I have classes111.zip from Oracle in BOTH my lib directory and the directory where my application (not applet) is. I have also tried unzipping the class111 files under my application directory. One (small?) complication: I do have both jdk1.0 and 1.1 installed as well as Symantec VCP.

I am getting an error that says "no suitable driver "

I take this to mean java IS finding the oracle driver manager, but the driver manager is not finding the actual thin driver class.

Can anyone report they are using this product successfully?

Can anyone tell me exactly what that message means so I can focus my efforts?

Thanks.

Here's the error message log--

DriverManager.getConnection("jdbc:oracle:dnldthin:trade/trade_at_HPOracle")

    trying
driver[className=oracle.jdbc.driver.OracleDriver,context=null,oracle. jdbc.driver.OracleDriver_at_1ccc21] getConnection: no suitable driver

java.sql.SQLException: No suitable driver         
at java.sql.DriverManager.getConnection(DriverManager.java:111)         
at java.sql.DriverManager.getConnection(DriverManager.java:149)         
at sqltest4.main(sqltest4.java:17) SQLException: SQLState(08001) Received on Mon Jul 07 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US