RE: dataguard connection question

From: Goulet, Richard <>
Date: Tue, 9 Jun 2009 10:40:35 -0400
Message-ID: <>


        Your biggest difficulty here is JDBC because it does not use the Oracle SQL*Net layer thereby making this a touch difficult. The following is something I pulled (in spirit only) from another project I worked on that had a requirement for a standby database & no manual intervention on the app side:





It helped in that setup and did work flawlessly, but yours may be different. Alternatively you might consider setting up a connection manager somewhere in your infrastructure. It can handle just this type of problem, but it's another layer of indirection.

Dick Goulet
Senior Oracle DBA
PAREXEL International

-----Original Message-----

[] On Behalf Of Joan Hsieh Sent: Monday, June 08, 2009 7:35 PM
To: oracle_l
Subject: dataguard connection question

Hi List,

I have question regarding dataguard, the primary database is xytht1, the

standby is xytht2. the oracle is Our client is using jdbc thin

client to connect the primary database. the connection string is

jdbc:oracle:thin:_at_(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-xythdb- JDBCConnectionPool:395

After I tested switchover, the client lost connection, and have to manually reconfigure to change the HOST and service name. This is not acceptable to our client. I have no knowledge on how to automatically switchover/failover for the client jdbc connection. Do you have any ideas on this? Thank you for any helps.



-- Received on Tue Jun 09 2009 - 09:40:35 CDT

Original text of this message