Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2918 > unrolled thread
| Started by | xeon Mailinglist <xeonmailinglist@gmail.com> |
|---|---|
| First post | 2014-03-04 10:12 -0800 |
| Last post | 2014-03-07 03:25 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.java.help
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
| From | xeon Mailinglist <xeonmailinglist@gmail.com> |
|---|---|
| Date | 2014-03-04 10:12 -0800 |
| Subject | java in a high latency network |
| Message-ID | <29edeb3a-1fe8-4d31-bf62-82493e18b9a3@googlegroups.com> |
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,
[toc] | [next] | [standalone]
| From | Knute Johnson <eternal@knutejohnson.com> |
|---|---|
| Date | 2014-03-04 19:08 -0800 |
| Message-ID | <lf64g9$ser$1@dont-email.me> |
| In reply to | #2918 |
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
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2014-03-05 15:57 -0800 |
| Message-ID | <4eefh9dcafarca3ieka3itefrifutgg1r1@4ax.com> |
| In reply to | #2918 |
On Tue, 4 Mar 2014 10:12:39 -0800 (PST), xeon Mailinglist <xeonmailinglist@gmail.com> wrote, quoted or indirectly quoted someone who said : >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? I have never seen that error myself, but there are timeouts you can configure. See http://mindprod.com/products1.html#HTTP for source. -- Roedy Green Canadian Mind Products http://mindprod.com The future has already happened, it just isn’t evenly distributed. ~ William Gibson (born: 1948-03-17 age: 65)
[toc] | [prev] | [next] | [standalone]
| From | eric@invalid.com (EricF) |
|---|---|
| Date | 2014-03-07 03:25 +0000 |
| Message-ID | <lfbe8d$ped$1@dont-email.me> |
| In reply to | #2920 |
In article <4eefh9dcafarca3ieka3itefrifutgg1r1@4ax.com>, Roedy Green <see_website@mindprod.com.invalid> wrote: >On Tue, 4 Mar 2014 10:12:39 -0800 (PST), xeon Mailinglist ><xeonmailinglist@gmail.com> wrote, quoted or indirectly quoted someone >who said : > >>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? > >I have never seen that error myself, but there are timeouts you can >configure. See http://mindprod.com/products1.html#HTTP for source. Honestly people. How difficult is it to go to a search engine like Google and try something like "java network timeout" One of the top choices is Oracle's Java network properties. Eric
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.help
csiph-web