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 The Connection descriptor used by the client was: 10.1.1.171:1521:myapp

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 Oracle Community by Mario Ibarra, 1 year ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 10.1.1.171:1521:myapp
via Google Groups by Unknown author, 3 months ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
via narkive.com by Unknown author, 2 years ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
via Oracle Community by 875146, 1 year ago
End of TNS data channel
via Stack Overflow by k9b
, 1 year ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:xe
via Oracle Community by astabi, 1 year ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 111.111.111.111:1521:oracledb,"username","password"
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 The Connection descriptor used by the client was: 10.1.1.171:1521:myapp
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:496)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.micros.installer.createDatabase.CreationConnections.getMasterConnection(CreationConnections.java:446)
at com.micros.installer.createDatabase.CreationScriptParser.getConnection(CreationScriptParser.java:525)
at com.micros.installer.createDatabase.CreationScriptParser.write(CreationScriptParser.java:290)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:231)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:239)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:239)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:239)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:239)
at com.micros.installer.createDatabase.CreationScriptParser.readChildren(CreationScriptParser.java:239)
at com.micros.installer.createDatabase.CreationScriptParser.loadXML(CreationScriptParser.java:141)
at com.micros.installer.createDatabase.CreationScriptParser.applyScript(CreationScriptParser.java:109)
at com.micros.installer.createDatabase.CreateDatabase.applyScripts(CreateDatabase.java:125)
at com.micros.installer.createDatabase.CreateDatabase.install(CreateDatabase.java:73)
at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source)
at com.zerog.ia.installer.actions.PlugInAction.installSelf(Unknown Source)
at com.zerog.ia.installer.util.GenericInstallPanel$2.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
451 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.