Wednesday, July 11, 2012

ORA-12505: TNS:listener does not currently know of SID given in connect descriptor

can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url:

view sourceprint?
jdbc:oracle:thin:@aHost:1521:theSID
Resolution:
if Oracle Data Rack used, Service Name and URL must be used instead of SID and server name.


jdbc:oracle:thin:@//aHost:1521/theServiceName

No comments:

Post a Comment