users@grizzly.java.net

Re: Help with slow file uploads

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 08 Jun 2009 08:45:15 -0700

Salut,

Thomas Gideon wrote:
> I cannot create a new defect on Kenai for grizzly-sendfile, it
> complains about reporter not being set even though I am logged in.
> There is no place for me to manually enter reporter. I will try to
> report this against the Grizzly bug tracker, if possible.

Thanks for the great analysis. I will work with Igor on that issue as
the AsyncFilter has no way to know if the Adapter has been called or not
by the previous one.

Thanks!

-- Jeanfrancois



>
> Thomas
>
> On Wed, Jun 3, 2009 at 6:18 PM, Thomas
> Gideon<tgideon_at_learningobjects.com> wrote:
>> On Thu, May 28, 2009 at 11:17 PM, Igor Minar <iiminar_at_gmail.com> wrote:
>>> Sorry Thomas, as much as I'd like, I won't be able to look at this before
>>> the javaone is over.
>>>
>>> Can you please in the meantime file a bug in grizzly's issue tracker?
>> I've had a chance to look into this and since we are already patching
>> the grizzly-sendfile sources, I identified and tried one small change
>> that seems to alleviate the problem.
>>
>> In SendfileFilter#doFilter, the fourth line is to invoke the passed in
>> task argument. If I comment out task.invokeAdapter(), the problem
>> completely disappears. In testing my sample application and our full
>> application, this does not appear to break normal functioning of
>> either SendfileFilter or CometAsyncFilter.
>>
>> I'll enter a bug as you requested but hopefully you and/or
>> Jean-Francois can confirm I've isolated the problem and either bless
>> the fix or suggest a more correct change.
>>
>>
>> Thomas
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>