Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Database Administrators by The Thom
, 1 year ago
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
via Stack Overflow by woopi
, 2 years ago
java.lang.RuntimeException: java.sql.SQLException: ERROR 103 (08004): Unable to establish connection.
via databasefaq.com by Unknown author, 1 year ago
via GitHub by sundeepkmr
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to connect to database
via mapr.com by Unknown author, 2 years ago
java.lang.RuntimeException: java.sql.SQLException: Failure while attempting to connect to Drill.
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(NSProtocolStream.java:275)	at oracle.net.ns.NSProtocol.connect(NSProtocol.java:264)	at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)	at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:666)	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:566)	at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)	at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)	at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)	at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)