有两个db做了RAC虚拟路径为 ypdbweblogic的数据源连接 URL改为下面
当其中一台db挂了保证数据源连接正常
jdbc:oracle:thin:@
(DESCRIPTION=
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=))
(ADDRESS=(PROTOCOL=TCP)(HOST=)(PORT=))
)
(FAILOVER=yes)
(LOAD_BALANCE=yes)
(
CONNECT_DATA=
(SERVER=DEDICATED)
(SERVICE_NAME=ypdb)
)
)