users@grizzly.java.net

Re: Help with slow file uploads

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 01 May 2009 16:00:16 -0400

Salut,

Thomas Gideon wrote:
> On Fri, May 1, 2009 at 3:41 PM, Jeanfrancois Arcand
> <Jeanfrancois.Arcand_at_sun.com> wrote:
>>> Is there something else I am missing? Is there someway I can share my
>>> sources other than pasting them in an email? I have a small-ish Maven
>>> project that I could zip up.
>> Can you send me you war file privately (jfarcand_at_apache.org) so I can at
>> least see why you aren't getting comet enabled?
>
> It turns out that the System properties needed for grizzly-sendfile
> are the problem. If I unset those, then my code works the way I
> expect. Unfortunately, I need both this comet code and
> grizzly-sendfile on the same server.
>
> -Dcom.sun.enterprise.web.connector.grizzly.asyncHandlerClass=com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncHandler
> -Dcom.sun.enterprise.web.connector.grizzly.asyncHandler.ports=8080,8181
> -Dcom.sun.enterprise.web.connector.grizzly.asyncFilters=com.igorminar.grizzlysendfile.SendfileFilter
>
> Is it possible to tweak these so I can still use grizzly-sendfile and
> have my comet code work?

I see. I need to investigate but my first guess is to add to the
-D...asyncFilters=com.igor...,com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter

without adding cometSupport property. Can you try?

Thanks

-- Jeanfrancois


>
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>