java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.nrc.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl1)))

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 user6655099, 1 year ago
Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.nrc.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl1)))
via Oracle Community by 539682, 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: 127.0.0.1:1521:XE
via Oracle Community by 447782, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Google Groups by jct...@nb.sympatico.ca, 4 months ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by Suzie, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by 447782, 1 year ago
Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host1.nrc.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl1)))

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.