> I have one JDBC connection, which works with one particular SID
>
[quoted text clipped - 11 lines]
>
> -- Jack
BTW, that SID is not in any of the tnsnames.org file....
Richard Senior - 15 May 2007 11:46 GMT
>> I have one JDBC connection, which works with one particular SID
>>
[quoted text clipped - 9 lines]
>
> BTW, that SID is not in any of the tnsnames.org file....
How about looking at listener.ora on the database server?

Signature
Regards,
Richard
jacksu - 15 May 2007 13:08 GMT
On May 15, 6:46 am, Richard Senior <nos...@r-senior.demon.co.uk>
wrote:
> >> I have one JDBC connection, which works with one particular SID
>
[quoted text clipped - 16 lines]
>
> Richard
I don't know where is the server, and that's what I am trying to find
out..... I just have the SID name, and I am able to connect to the
server from client machine. Thanks.
joeNOSPAM@BEA.com - 15 May 2007 15:59 GMT
> BTW, that SID is not in any of the tnsnames.org file....
The file you want is tnsnames.ora. What is your ORACLE_HOME
environment variable set to? Oracle clients can't use your SID
to connect without finding it's host and port in the tnsnames.ora
file, so the info you want *is* in a file somewhere on your box.
Joe Weinstein at BEA Systems
Richard Senior - 15 May 2007 16:59 GMT
> Oracle clients can't use your SID
> to connect without finding it's host and port in the tnsnames.ora
> file, so the info you want *is* in a file somewhere on your box.
Unless it's using Host Naming or Oracle Names, in which case it wouldn't
necessarily be in the tnsnames.ora on the client.

Signature
Regards,
Richard