I have a problem with jdbc connection.
I have a cluster data base the instance name are inst1 and inst2, when I run a shells on an application server with jdbc some times I get and error and some times it works.
The error that I got on application server is
Exception in thread "main" org.springframework.transa
xception: Could not open JDBC Connection for transaction;
When i check on database server i got these erros
TNS-01184: Listener rejected registration or update of service handler "DEDICATED"
TNS-01185: Registration attempted from a remote node
I attach a file with the tnsnames.ora, listener.ora and jdbc.properties
Sometimes it works and sometimes it doesn´t but if I stop one of the tow listeners it works or it I configure the jdbc directly to one instance it works.
Thanks for your help