TAF and JDBC connections

  • From: "Dba DBA" <oracledbaquestions@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Thu, 10 Jul 2008 11:12:45 -0400

I have developers connecting to my RAC database with jdbc. I want them to
use nodes 3 and 4. I have a TAF tnsnames set up for them as follows:
This is the tnsnames on the server. However, JDBC does not use tnsnames. How
do I get them to take advantage of this ?
I can use this locally on my RAC boxes.

so what do I do with jdbc guys?

JAVAGUYS =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = node3-vip)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = node4-vip)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = JAVAGUYS)
    )
  )

Other related posts: