Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2919

Re: java in a high latency network

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <eternal@knutejohnson.com>
Newsgroups comp.lang.java.help
Subject Re: java in a high latency network
Date Tue, 04 Mar 2014 19:08:57 -0800
Organization A noiseless patient Spider
Lines 22
Message-ID <lf64g9$ser$1@dont-email.me> (permalink)
References <29edeb3a-1fe8-4d31-bf62-82493e18b9a3@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 5 Mar 2014 03:08:57 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="aba33539224e5c782fe0c4053f7756fd"; logging-data="29147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18o6y2nKux9/GVGKxuE06+k"
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To <29edeb3a-1fe8-4d31-bf62-82493e18b9a3@googlegroups.com>
Cancel-Lock sha1:b4ZIzcFOLqp9/3ZVbTFhRRYxYJM=
Xref csiph.com comp.lang.java.help:2919

Show key headers only | View raw


On 3/4/2014 10:12, xeon Mailinglist wrote:
> 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,
>

I would expect a timeout and a ConnectException not a 
NoRouteToHostException with a high latency.  The latter implies 
something blocking the connection as opposed to not accepting a 
connection.  Can you create an example that would cause the 
NoRouteToHostException with a response delay?

-- 

Knute Johnson

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

java in a high latency network xeon Mailinglist <xeonmailinglist@gmail.com> - 2014-03-04 10:12 -0800
  Re: java in a high latency network Knute Johnson <eternal@knutejohnson.com> - 2014-03-04 19:08 -0800
  Re: java in a high latency network Roedy Green <see_website@mindprod.com.invalid> - 2014-03-05 15:57 -0800
    Re: java in a high latency network eric@invalid.com (EricF) - 2014-03-07 03:25 +0000

csiph-web