High Availability Data Guard, Sharding and Global Data Services (MOSC)

MOSC Banner

JDBC connection fails after switchover

Hi,

we are using a simple 11.2.0.3 DG configuration on Linux platform.

After a switchover, our fat clients, using Oracle Client 10.2.0.1 can make  proper connections with the new primary database.

However, our web-applications using JDBC Thin driver connections, fail to connect if the primary database is on the host that is the 2nd host in the connectstring

So, the connectstring : xcfora=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=srv3)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=srv4)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=XCFT_TAF)(FAILOVER_MODE =(TYPE=select)(METHODE=basic)(RETRIES=60)(DELAY=10))))

works fine if the primary database , with service_names=XCFT_TAF

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center