users@grizzly.java.net

Re: Comet handler starts terminating TCP connections with RST?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 17 Dec 2008 13:46:52 -0500

Salut,

here is one tentative. Just do:

% cd ${glassfish.home}/lib
% unzip grizzly-comet...
% cp appserv-rt.jar appserv-rt.jar.org
% jar uvf appserv-rt.jar com

Let me know if that fix the issue.

A+

-- Jeanfrancois

Jussi Kuosa wrote:
>> One workaround for you is to set the
>> CometContext.setExpirationDelay(-1). This will not enabled that extra
>> Selector.
>
> Ok, I'll try that still.
>
>> Would you be able to produce a test case?
>
> I've tried, but I haven't been able to do that - sorry :-(
>
>> Let me try to find a workaround (again) by trying to
>> detect the scenario and trash the Selector. Meanwhile,
>> can you file an issue here (as a p2):
>
> Yup, created issue 6940 [1].
>
>> The window is short by I should be able to send you a patch by the end of
>> today.
>
> Ok, I also set up the GF2 build environment (cvs and maven1), I have
> SJSAS91_UR2_BRANCH checked out ATM.
>
> -Jussi
>
> [1] https://glassfish.dev.java.net/issues/show_bug.cgi?id=6940