Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: newbie question regarding JDBC and CMAN
Hi
>I tested "tnsping red.domain.tld" as well as "tnsping red" and did the same with "sqlpllus
>user/pwd_at_red.domain.tld" as well as with "sqlpllus user/pwd_at_red" sucessfully.
>
>But if using my java app (jdbc:oracle:thin:system/pwd_at_DB-HOST:1630:red)I get:
>
>ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Probably the SID is not "RED". You should check tnsnames.ora... (or where else the TNS alias is resolved)
Have you tried to connect through OCI with the connect string "jdbc:oracle:oci:system/pwd_at_red"?
HTH
Chris
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 15 2006 - 11:49:37 CST
![]() |
![]() |