Intermittent TNS-12521 and ORA-12514 On RAC With DataGuard
(Doc ID 2546305.1)
Last updated on APRIL 04, 2021
Applies to:Universal Connection Pool - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
JDBC application using JDBC/thin 22.214.171.124.0 and UCP 126.96.36.199.0 fails to connect with error ORA-12514 TNS:listener does not currently know of service requested in connect descriptor
when connecting to a DataGuard (DG) where the primary is the second address.
This issue occurs when trying to connect to DG standby. Also, this issue occurs only when DG is added to the JDBC URL.
TNS-12521 TNS:listener does not currently know of instance requested in connect descriptor errors are regularly seen in the listener logs. However, the connections can still succeed when there is no DG.
But, when the DG is added, connections fail with ORA-12514.
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document