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

Last updated on AUGUST 31, 2017

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= xxx01.com)

(PORT=1300)

)

(CONNECT_DATA=

(SERVER=dedicated)

(SERVICE_NAME=ABC)

)

)

(DESCRIPTION=

(ADDRESS=

(PROTOCOL=TCP)

(HOST=xxx02.com)

(PORT=1300)

)

(CONNECT_DATA=

(SERVER=dedicated)

(SERVICE_NAME=ABC)

)

)

)

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms