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 | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.nullpointerexception

    Coderanch | 4 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 | 9 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 des

    Oracle Community | 8 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    Stack Overflow | 4 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
  6. 0

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

    webatall.com | 1 year 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

  1. Michael 1 times, last 9 months ago
  2. Jeremy 1 times, last 9 months ago
  3. qavid 2 times, last 10 months ago
  4. osvzs 12 times, last 3 weeks ago
  5. tomthomas 1 times, last 2 months ago
2 more registered users
46 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