Hi,
check
your sid in the url (jdbc:oracle:thin:@server:port:sid) for the
jdbc-connection,
for
example: jdbc:oracle:thin:@www.oracle.com:1521:orcl.
for
errorcode 12505 see oracle-documentation for details:
TNS-12505 TNS:listener could not resolve SID given in connect
descriptor
Cause: The SID in CONNECT_DATA was not found in the
listener's tables.
Action: Check to make sure that the SID specified is
correct. The SIDs that are currently
registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name".
These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA
file.
registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name".
These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA
file.
Stephan
-----Urspr�ngliche Nachricht-----
Von: Duc Nguyen [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 9. August 2001 15:36
An: [EMAIL PROTECTED]
Betreff: Connection to The DatabaseHi all,I am trying to make connection to Oracle DataBase Using Oracle JDBC ThinAnd UserName = "Scott", Password="tiger"And I got this Error Messageio exception: Connectionrefused(DESCRIPTION=(TMP=)(SVNNUM=135294976)(ERROR=(CODE=12505)(EMFI=4))))Can someone help me out on this please.Thanks,Duc
Get your FREE download of MSN Explorer at http://explorer.msn.com
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
