Hi everybody,
We've installed Liferay on a Tomcat cluster and are trying to change our Liferay database to Oracle RAC. No problem while using one server but:
How to configure access to an Oracle RAC 10g database in portal-ext.properties with loadbalancing and failover on?
We tried:
1jdbc.default.driverClassName=oracle.jdbc.OracleDriver
2jdbc.default.url=jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=ON)(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=hostname1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=hostname2)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SID)))
3jdbc.d]efault.username=lportal
4jdbc.default.password=lportal
but it's not the right way to do...
It works with something like this:
1jdbc.default.url=jdbc:oracle:thin:@hostname1:1521:SID
but it only use one node of the RAC... and don't use failover and load balancing... That's not what we want...
Thx for your help!
Please sign in to flag this as inappropriate.