JDBC thin client connection to RAC [message #354749] |
Tue, 21 October 2008 02:01 |
malneedy
Messages: 2 Registered: October 2008
|
Junior Member |
|
|
Hi,
I have an Oracle 11g 2 node RAC on linux Redhat.
I am able to connect to it from jdbc thin client on linux OS with no issues.
But I am having issues connecting to it from jdbc thin client on windows 2003 OS. It gives the error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Below is the connection string I am using:
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=server11-vip) (PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=server12-vip) (PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=orcl.unitydev.info)))
And sometimes it connects but after a minute it disconnects and gives the above error again. I have tried adding the ADDRESS_LIST and SERVER=DEDICATED parameters to the string too. But still does not work.
Any help would be appreciated.
THanks in advance.
|
|
|
|