My Oracle Support Banner

JDBC URL Format Recommended for Connecting to DataGuard (Doc ID 2303116.1)

Last updated on SEPTEMBER 29, 2020

Applies to:

Oracle WebLogic Server - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

Customer is trying to connect to a data guard broker via our JDBC connections (DataSources) in WebLogic.

Here is the  Connection string in the TNSNames file:

 UATSIE.WORLD=

(DESCRIPTION_LIST=

(FAILOVER=true)

(LOAD_BALANCE=no)

(DESCRIPTION=

(ADDRESS=

(PROTOCOL=TCP)

(HOST= HOSTNAME1.COM)

(PORT=port)

)

(CONNECT_DATA=

(SERVER=dedicated)

(SERVICE_NAME=ABC)

)

)

(DESCRIPTION=

(ADDRESS=

(PROTOCOL=TCP)

(HOST=HOSTNAME2.com)

(PORT=port)

)

(CONNECT_DATA=

(SERVER=dedicated)

(SERVICE_NAME=Service-name)

)

)

)

Having a hard time figuring out the proper way to create the string to connect to this. Is there any Oracle documentation that details the configuration steps ?

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.