users@grizzly.java.net

Re: Configuring Grizzly timeouts

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Wed, 22 Sep 2010 10:20:42 -0700

Hi Sondra,

> Our server is experiencing two different timeouts while receiving an
> http/https file upload over a poor cell connection. I am hoping
> there are
> configuration settings that can be used to modify the timeout
> values. I am
> using Grizzly (version 1.9.18-10) within glassfish v3.
Can I ask to patch the GF with the binaries taken from here
https://grizzly.dev.java.net/issues/show_bug.cgi?id=862

To increase the timeout interval please use the following command:

asadmin set configs.config.server-config.network-
config.protocols.protocol.http-listener-1.http.request-timeout-
seconds=3600


> [#|2010-09-21T11:54:14.289-0400|WARNING|glassfish3.0.1|
> com.sun.grizzly.config.GrizzlyServiceListener|
> _ThreadID=13;_ThreadName=Thread-1;|Interrupting
> idle Thread: http-thread-pool-80-(1)|#]
>
> Even if the upload is otherwise progressing nicely, it is terminated
> after
> 15 minutes. I have seen other mentions of this message, but do not
> know how
> to extend the timeout value.
>
>
> The second one generates an IOException: "Stream ended
> unexpectedly" while
> reading data. I believe this is caused by the TCP/IP socket timing
> out and
> closing when the file is being uploaded very slowly. This happens
> even when
> additional data is still being uploaded. How can this timeout be
> extended?
Let's try this one:
set configs.config.server-config.network-
config.protocols.protocol.http-listener-1.http.timeout-seconds=900

Thanks.

WBR,
Alexey.

>
> Thanks for your help!
> Sondra
> --
> View this message in context: http://old.nabble.com/Configuring-Grizzly-timeouts-tp29771174p29771174.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>