Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDBC connection

Status
Not open for further replies.

mgl70

Programmer
Sep 10, 2003
105
US
Hi,

I got a problem with oracle9i connection through JDBC. Everyday I am able to connect to the oracle database and manipulating the data through JDBC connection and sql prompt. Today, I am getting the sql prompt but while connecting to the oracle database through JDBC , I am having this kind of error.

java.sql.Exception: IO exception: The network adoptor could n't establish the connection.


I did not change any code or files in oracle or java.
database and listener are started fine.

What could be the problem.
thanks,
 
I don't know, whether you need a network-connection to get the sql-prompt, but 'network-adaptor' sounds like network-problem.

Did you ping the ora-server?
May someone else have changed some settings?

seeking a job as java-programmer in Berlin:
 
This is a DNS error, or failure to resolve the host you are connecting to.
 
Thank you very much for your help. yes my machine name has changed. So now connection is working fine.

thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top