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 -> JDBC Thin Driver (1.1) - Can not establish connection

JDBC Thin Driver (1.1) - Can not establish connection

From: Al <al_at_work>
Date: 1998/02/11
Message-ID: <6bsp02$icj15@piper.ncr.pwgsc.gc.ca>#1/1

I am trying to use Oracle's sample applet to establish a connection between my browser (Explorer 4.0 on NT) and an Oracle 7.3 database that resides on an HP/UX server.

My connect string is as follows:

 static final String connect_string =

                "jdbc:oracle:thin:system/manager_at_ott40:1521:h01a";

where

    ott40 is the name of my server
    the Listener is running on port 1521     h01a is the name of my instance

I have also tried changing the getConnection to

    conn = DriverManager.getConnection
("jdbc:oracle:thin:@ott40:1521:h01a","system","manager");

In both cases the applet generates the message 'cannot access ott40'. If I change ott40 to a garbage name then I get the message 'Unable to check hostname "garbage" '.

Does anyone have any ideas on how to proceed ? Received on Wed Feb 11 1998 - 00:00:00 CST

Original text of this message

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