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: oxxxxxxx-xxxx:xxxx:xxxxx_svc.xxxx-xxxxxx.com DSRA0010E: SQL State = 00000, Error Code = 0

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 hivmr.com by Unknown author, 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: oxxxxxxx-xxxx:xxxx:xxxxx_svc.xxxx-xxxxxx.com DSRA0010E: SQL State = 00000, Error Code = 0
via Stack Overflow by Arnold Cristobal
, 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 Stack Overflow by xyzt
, 2 years ago
Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: 192.168.2.7:1521:xe
via Stack Overflow by user3808015
, 2 years ago
Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found
via Stack Overflow by Bimbz
, 2 years ago
The Network Adapter could not establish the connection
via Stack Overflow by Bimbz
, 2 years ago
The Network Adapter could not establish the connection
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: oxxxxxxx-xxxx:xxxx:xxxxx_svc.xxxx-xxxxxx.com DSRA0010E: SQL State = 00000, Error Code = 0
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.init(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.init(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:474)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:275)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:206)
at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:139)
at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper$1.run(InternalGenericDataStoreHelper.java:1221)

Users with the same issue

8 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago

Write tip

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