users@grizzly.java.net

Re: Comet handler starts terminating TCP connections with RST?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 18 Dec 2008 12:12:55 -0500

Salut,

Jussi Kuosa wrote:
>> second try. I've added some logging when the issue arise,
>> and when I try to recover from the failure.
>
> Awesome - I just put that to test (in addition to the
> CometContext.setExpirationDelay(-1) test).

OK with -1 for sure the problem will never arise (I shouldn't say never :-))

  If those changes help, I can rule
> out which fix was the cause (or were both needed) tomorrow and send you some
> logs.
>

Just don't set to -1 to see if the CometSelector can recover. You will
see log messages when it try to recover.

Thanks!!!

-- Jeanfrancois


> I have to run for today, but I'll get back to you tomorrow morning.
>
> -Jussi
>