aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes java in a high latency network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java in a high latency network" Watch "java in a high latency network" New topic
Author

java in a high latency network

xeon costa
Greenhorn

Joined: May 10, 2011
Posts: 15

I am using a program that transfer files between the hosts. My problem is that the network between these hosts have a high latency (> 1sec), and sometimes my programs launch a error of "java.net.NoRouteToHostException: No route to host; ".

I think this problem happens because of the latency. There is a way to configure the JVM for networks with high latency so that the time to try to connect to a remote host is longer?

Thanks,


Thanks,
Ron McLeod
Ranch Hand

Joined: Feb 12, 2013
Posts: 329
    
    6

It sounds more like a routing issue rather than a latency issue. It would be good to run packet sniffer such as Wireshark and see what is actually happening (or not) on the wire.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java in a high latency network