Note that this probably isn't a Tomcat question. Can you create the
connection outside Tomcat, in your own application? If not, you've got a
JDBC problem that JDBC people could help you with. (Or really, Oracle
people: Do a search on Deja in comp.databases.oracle.* for "Connection
refused" to see how common this problem is,...)
-- Bill K.
> -----Original Message-----
> From: Jack Li [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 7:32 AM
> To: [EMAIL PROTECTED]
> Subject: oracle JDBC doesn't work
>
>
>
> I got message "Connection refused: no further information".
> Here are the
> settings:
>
> 1. We are using Oracle 7.3. The database server name is storedb.
> 2. I downloaded oracle jdbc driver from Oracle.com. The
> downloaded driver is
> Oracle 7 driver for NT. It has classes102.zip and
> classes111.zip and two
> dlls.
> 3. I put calsses111.zip into c:\jdk1.3\bin and add "c:\jdk1.3\bin" to
> CLASSPATH and PATH
> 4. test the connection in jsp as:
> try{
> DriverManager.registerDriver(new
> oracle.jdbc.driver.OracleDriver());
> Connection con =
> DriverManager.getConnection("jdbc:oracle:thin:storedb",
> "username", "password");
> }
> catch(SQLException e){
> out.println(e.getMessage());
> }
>
> The username and password are good. I can make connection
> using jdbc-odbc
> bridge.
> What's the problem do I have with oracle JDBC?
>
> Thanks,
> Jack Li
>
> -----Original Message-----
> From: Bryant, William [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 16, 2001 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: JDBC driver for oracle
>
>
>
>
> You can get the JDBC drivers from Oracle.com. Select
> download, then choose
> 'JDBC drivers' from teh drop down list. You will need a free
> oracle technet
> login.
>
> ... Mike
>
> -----Original Message-----
> From: Jack Li [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 16, 2001 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: JDBC driver for oracle
>
>
> Hi,
>
> Where can I have a free JDBC driver for oracle?
>
> Thanks,
> Jack
>
>