Tracejava.sql.SQLException: Io exception: The Network Adapter could not establish the connection

coderanch.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Io Exception: The Network Adapter could not establish the connection (JDBC and Relational Databases forum at Coderanch)

    coderanch.com | 9 months ago
    Tracejava.sql.SQLException: Io exception: The Network Adapter could not establish the connection
  2. 0

    Io Exception: The Network Adapter could not establish the connection (JDBC and Relational Databases forum at Coderanch)

    coderanch.com | 7 months ago
    Tracejava.sql.SQLException: Io exception: The Network Adapter could not establish the connection

    Root Cause Analysis

    1. Tracejava.sql.SQLException

      Io exception: The Network Adapter could not establish the connection

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OracleDriver.connect
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
      2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
      3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
      4. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
      5. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
      6. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
      7. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
      8. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
      8 frames
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:525)
      2. java.sql.DriverManager.getConnection(DriverManager.java:171)
      2 frames
    4. com.xyz.abc
      PublishDaemon.main
      1. com.xyz.abc.util.ConnectionManager.getConnectionForBatch(Unknown Source)
      2. com.xyz.abc.common.custom.BatchCustom.getConnnectionToHost(Unknown Source)
      3. com.xyz.abc.batch.alertserver.PublishDaemon.getCurrentDate(Unknown Source)
      4. com.xyz.abc.batch.alertserver.PublishDaemon.main(Unknown Source)
      4 frames