weblogic关于RAC的数据池链接
jdbc:oracle:thin:@(description=(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))(load_balance=yes)(failover=yes))(connect_data=(service_name= orcl)))
说明:数据库为Oracle 10g,xx.xx.xx.xx对应服务器对外提供的服务地址(ora_vip),在RAC中应该有两个IP地址,本例中服务名为:orcl
jdbc:oracle:thin:@(description=(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))(load_balance=yes)(failover=yes))(connect_data=(service_name= orcl)))
说明:数据库为Oracle 10g,xx.xx.xx.xx对应服务器对外提供的服务地址(ora_vip),在RAC中应该有两个IP地址,本例中服务名为:orcl