users@grizzly.java.net

RE: Setting the writeTimeout in NIOConnection

From: Andrew MacGilvery <Andrew.MacGilvery_at_betfair.com>
Date: Thu, 22 Nov 2012 14:31:30 +0000

Hi Oleksiy,

                I'm using HttpServer version v2.1.2, creating the server with com.sun.jersey.api.container.grizzly2.GrizzlyServerFactory (v1.11).

Kind regards,
        Andy

From: Oleksiy Stashok [mailto:oleksiy.stashok_at_oracle.com]
Sent: 22 November 2012 13:17
To: users_at_grizzly.java.net
Subject: Re: Setting the writeTimeout in NIOConnection

Hi Andy,

can you pls. give more details, which Grizzly version are you using, are you using core framework or HttpServer etc.

Thanks.

WBR,
Alexey.
On 11/22/2012 11:51 AM, Andrew MacGilvery wrote:
Hi All,
                I'm seeing problems sending largish datasets to service consumers.
After writing to the response for 30 seconds, the connection is closed.
I'd like to increase the writeTimeout in NIOConnection to see if it has any effect on the problem, but I haven't been able to find out how to do it.
What is the correct way to set this timeout?

Kind regards,
        Andy


________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________