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

Home -> Community -> Usenet -> c.d.o.server -> exception: The Network Adapter could not establish the connection

exception: The Network Adapter could not establish the connection

From: SP <sdpantDelete_this_to_reply_at_yahoo.com>
Date: Thu, 20 Mar 2003 20:00:53 GMT
Message-ID: <V5pea.4767$8Z5.41552@sea-read.news.verio.net>


Hi,
I've problem connecting to Oracle 9 release 2 on windows 2000 from clinet which is doing a java call and has to go through firewall. I looked at the listner and log file. They don't show any error. But I'm getting a error as below. I was trying to increase the timeout on listener.ora but lsnrctl set connect_timeout 20 didn't work. How do i increase the timeout on listener and any ideas how to resolve this issue? SP
driver: oracle.jdbc.driver.OracleDriver
connection: jdbc:oracle:thin:@201.21.18.144:1521:devdb1 login: user
password: pwd
Exception in thread "main" java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
        at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
        at

oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)

        at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va:468)

        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:172)
        at JDBC.main(JDBC.java:21)
Received on Thu Mar 20 2003 - 14:00:53 CST

Original text of this message

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