my dog learned polymorphism*
The moose likes JDBC and the fly likes Io exception: The Network Adapter could not establish the connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Io exception: The Network Adapter could not establish the connection" Watch "Io exception: The Network Adapter could not establish the connection" New topic
Author

Io exception: The Network Adapter could not establish the connection

kalyan seetharam
Greenhorn

Joined: Nov 23, 2004
Posts: 1
I am able to connect to the database server with the configurations using jdbc connections. But sometimes i am getting the sql exception that "Io exception: The Network Adapter could not establish the connection". I think the database server is not able to connect sometimes. I am not able to find the solution for it. Find me the solution for this asap.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Kalyan,
Welcome to JavaRanch!

You are correct that you are sometimes having connectivity issues. Is there any pattern for when the error occurs? If it occurs once, does it work if you try again right away?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Tarun Basandra
Greenhorn

Joined: Dec 16, 2004
Posts: 2
Originally posted by Jeanne Boyarsky:
Kalyan,
Welcome to JavaRanch!

You are correct that you are sometimes having connectivity issues. Is there any pattern for when the error occurs? If it occurs once, does it work if you try again right away?


Hi

I am also facing same type of problem
enviroment
Weblogic
vj++ for connecting to Oracle

Application is quite stable for the last two years , this problem occurs but automatically removed after four five seconds , but for the few weeks this issues arises and resolved only after restarting the server . i could not able to find the solution for this problem
 
Don't get me started about those stupid light bulbs.
 
subject: Io exception: The Network Adapter could not establish the connection
 
Similar Threads
Newbie: How doy I connect to Oracle Using JDBC
Io Exception: The Network Adapter could not establish the connection
Error in connecting to database
datasource connection in admin console unsuccessful
Oracle JDBC connection in a servlet