Problem in JDBC Connection (RAC in 11G Release 2 ) [message #424651] |
Mon, 05 October 2009 02:35  |
Saikirupa
Messages: 10 Registered: August 2009
|
Junior Member |
|
|
Dear All,
We have a 11G R2 RAC Setup with 2 nodes in Linux Environment.
Its working fine when we connect thru sqlplus from the same server. But we are not able to connect from the application. (i.e the JDBC connection).
Connection URL given is :
<URL>jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=Virtual_IP_of_Node1)(PORT=1521))(ADDRESS=(PROTOCOL=TCP) (HOST=Virtual_IP_of_Node2)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=S1)))</URL>
Error:
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
|
|
|
Re: Problem in JDBC Connection (RAC in 11G Release 2 ) [message #424713 is a reply to message #424651] |
Mon, 05 October 2009 09:46  |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>Its working fine when we connect thru sqlplus from the same server.
>But we are not able to connect from the application. (i.e the JDBC connection).
Then likely not Oracle or listener problem.
Did JDBC ever work?
Post tail end (last 30 - 40 lines) from listener.log
|
|
|