java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

Coderanch | Jaikiran mathukumalli | 3 years ago
  1. 0

    java.lang.nullpointerexception

    Coderanch | 3 years ago | Jaikiran mathukumalli
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  2. 0

    can't connect to remote oracle database with JDBC

    Stack Overflow | 4 months ago | Fitz
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  3. 0

    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    Stack Overflow | 3 years ago | Learner
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Resolved] ORA-12505, TNS:listener does not currently know of SID given in connect descriptor - oracle - Developer World

    webatall.com | 11 months ago
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  6. 0

    ORA-12505, TNS:listener does not currently know of SID given in connect des

    Oracle Community | 7 years ago | 712519
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

  1. Michael 1 times, last 4 months ago
  2. Jeremy 1 times, last 4 months ago
  3. qavid 2 times, last 5 months ago
  4. Kawada 4 times, last 6 months ago
45 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. oracle.net.ns.NetException

    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    at oracle.net.ns.NSProtocol.connect()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.ns.NSProtocol.connect(NSProtocol.java:386)
    2. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054)
    3. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
    4. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536)
    5. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    7 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  4. javaapp
    JavaApplication1.main
    1. javaapp.JavaApplication1.insertToDatabase(JavaApplication1.java:61)
    2. javaapp.JavaApplication1.main(JavaApplication1.java:78)
    2 frames