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: (DESCRIPTION=(ADDRESS=(HOST=aspire3000)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SID=homedb)))

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 447131, 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: (DESCRIPTION=(ADDRESS=(HOST=aspire3000)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SID=homedb)))
via Oracle Community by 447131, 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: (DESCRIPTION=(ADDRESS=(HOST=aspire3000)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SID=homedb)))
via Stack Overflow by maach
, 1 year ago
Io exception: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
via Stack Overflow 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 The Connection descriptor used by the client was: localhost:1521:xe
via orafaq.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 The Connection descriptor used by the client was: localhost:1521:orcl
via Stack Overflow by Rajesh Koppala
, 1 year ago
Listener refused the connectio n 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:orcl
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: (DESCRIPTION=(ADDRESS=(HOST=aspire3000)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=(SID=homedb)))
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:279)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:321)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:346)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:149)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:543)
at java.sql.DriverManager.getConnection(Unknown Source)
at oracle.dss.datautil.client.BICheckConfig.getJDBCConnection(BICheckConfig.java:606)
at oracle.dss.d4o.common.D4OCheckConfig.checkConnection(Unknown Source)
at oracle.dss.d4o.common.D4OCheckConfig.checkConnection(Unknown Source)
at oracle.dss.d4o.gui.common.DiagnoseDialog$ConfigTask.construct(Unknown Source)
at oracle.dss.d4o.gui.common.SwingWorker$4.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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