users@grizzly.java.net

Re: Help with slow file uploads

From: Thomas Gideon <tgideon_at_learningobjects.com>
Date: Fri, 1 May 2009 15:45:28 -0400

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?


Thomas