File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC local host connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC local host connection "NoRouteToHostException"" Watch "JDBC local host connection "NoRouteToHostException"" New topic
Author

JDBC local host connection "NoRouteToHostException"

Aye Jackson
Greenhorn

Joined: Jan 29, 2008
Posts: 1
Every so often (about 1% of the time), I am seeing a "NoRouteToHostException: No route to host: connect" error on a JDBC connnection. The host is the local host MySQL database which is up and running. Since it is a local host, I wouldn't expect it to go to the network (or DNS server). What would cause this periodic occurence of a connection failure in this situation.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Java Today",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC local host connection "NoRouteToHostException"