I've never been a DBA, let alone Oracle DBA. However, I've to be one right now.
My
Java jdbc code connected to a remote Oracle database (created by myself) w/o any problem until one day, I got an exception: "
IO exception: The Network Adaptor could not establish the connection.". Since then, I always get the same exception. I thought the remote DB might have been changed by some admin people. I use a local Oracle database, (they mirror each other), then I've the same problem, I can access it from local network. I cannot access it from home or anywhere else on earth. The same exception "IO exception: The Network Adaptor could not establish the connection.".
Please help! Tell me what are the possible causes? What could go wrong? Trust me, I've searched google.com, etc.
I'm totally lost. I even tried the Sybase sample database on the web, which I used to connect on my previous job for
testing purposes. No luck, I got IO exception, connection timeout. I think it is the same error with different wording. I must have done something wrong, but I don't know what is it.
I use
Ant sql task to test the connection, here is the ant snippet:
For Oracle: The code works locally with the same absolute IP "***.***.**.***".
For sybase: The url/userid/password are all real and from sybase website.
I'm running out of time, please help!
Thanks in advance!
Roseanne
[ November 29, 2003: Message edited by: Roseanne Zhang ]