newbie question regarding JDBC and CMAN 2006-03-15 - By Christian Antognini
Hi
>I tested "tnsping red.domain.tld" as well as "tnsping red" and did the same with "sqlpllus >user/pwd@(protected)" as well as with "sqlpllus user/pwd@(protected)" sucessfully. > >But if using my java app (jdbc:oracle:thin:system/pwd@(protected):1630:red)I get: > >ORA-12505 (See ORA-12505.ora-code.com), 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@(protected)"?
HTH Chris -- http://www.freelists.org/webpage/oracle-l
|
|