Re: Cannot connect to one Oracle DB using JDBC
- From: David Harper <devnull@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 01 Feb 2007 19:16:35 GMT
davis@xxxxxxxxxxxx wrote:
[SNIP]
The message I am getting looks like this
Driver: oracle.jdbc.driver.OracleDriver
Connecting to jdbc:oracle:thin:@db5.netaspx.com:1521:c0ujP0...
Driver registered: oracle.jdbc.driver.OracleDriver
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869824)
(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
I have a strange feeling of déja vu. We had similar questions in this
newsgroup back in September and October last year. Here'swhat I said back then:
Oracle error code 12505 means "TNS:listener could not resolve SID given
in connect descriptor".
Apparently, this means that the TNS listener service does not recognise
the service ID which you specified in your JDBC connection URL. Perhaps
you gave the wrong service ID? Or perhaps the Oracle instance has not
registered that service ID with the TNS listener?
Caveat: I'm *not* an Oracle expert!
David Harper
Cambridge, England
.
- References:
- Cannot connect to one Oracle DB using JDBC
- From: davis
- Cannot connect to one Oracle DB using JDBC
- Prev by Date: Cannot connect to one Oracle DB using JDBC
- Next by Date: JDBC connection to SQL Server 2005 with domain user
- Previous by thread: Cannot connect to one Oracle DB using JDBC
- Next by thread: Re: Cannot connect to one Oracle DB using JDBC
- Index(es):
Relevant Pages
|
|