java.util.concurrent.ExecutionException: java.lang.RuntimeException: 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

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

    Oracle connection from Squirrel SQL

    Database Administrators | 1 year ago | The Thom
    java.util.concurrent.ExecutionException: java.lang.RuntimeException: 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

    hibernate_慕课问答

    imooc.com | 1 year ago
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  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. osvzs 12 times, last 4 weeks ago
  2. tomthomas 1 times, last 3 months ago
  3. treefolk 21 times, last 5 months ago
  4. Michael 1 times, last 9 months ago
  5. Jeremy 1 times, last 9 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.NSProtocolStream.negotiateConnection()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.ns.NSProtocolStream.negotiateConnection(NSProtocolStream.java:275)
    2. oracle.net.ns.NSProtocol.connect(NSProtocol.java:264)
    3. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)
    4. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)
    5. oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:666)
    6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:566)
    7 frames
  3. net.sourceforge.squirrel_sql
    OpenConnectionCommand$1.run
    1. net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
    2. net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
    3. net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
    4. net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
    4 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames