Can you please let me know how to create a new connection for a RAC Database. When we use the scan IP and service name, it always displays the network adapter could not establish the connection, even though the listener and database are up and running. After repeatedly, trying atlease 20 times, then it will connect to the database. There are no issue while connecting to a single instance database.
Thanks & Regards,
I have gone through the forums. Is it mandatory to use the tnsnames.ora. i want to create a connection without the tnsnames.ora in sqldeveloper by giving the hostname(scan IP), portno and the service name. Also, is there a way to create a connection by giving the long thin RAC JDBC URL.
You don't give any details about version numbers but, in general, the Basic connection type should work -- there is no need to use TNSNames. If you can connect to the RAC system via SQL*Plus with an EZConnect string, one would hope the same host/port/service works in SQL Developer for a Basic connection type. But that may be just a hope, I suppose, depending on your overall configuration for SCAN. Or perhaps you pass the full TNS descriptor to connect to SQL*Plus?
In case of long thin RAC JDBC URL, presumably you mean including the full TNS descriptor in the url. I really did not find very much on the forums regarding SCAN, but searching more widely on the internet I note someone resolving a JDBC-specific issue (where SQL*Plus connects just fine) with comments like this: +"The host name in the connectiong string be the same as the init.ora parameter remote_listener and it should also match to the SCAN name. We should not include any domain names with SCAN name , remote_listername and with HOST setting in connecting string"+. So apparently you have to be very careful with the url specification.
Hope this helps,
After changing the host name in the connection string same as the init.ora parameter remote_listener, it is working now. i dont see that network adapter could not establish the connection any more.
Thanks & Regards,