Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: newbie question regarding JDBC and CMAN

RE: newbie question regarding JDBC and CMAN

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Wed, 15 Mar 2006 18:49:37 +0100
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F55D5@MSXVS04.trivadis.com>


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-l
Received on Wed Mar 15 2006 - 11:49:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US