users@grizzly.java.net

Re: [FIXED] Re: Errors with Comet and File Upload

From: Thomas Gideon <tgideon_at_learningobjects.com>
Date: Fri, 8 May 2009 10:25:29 -0400

On Thu, May 7, 2009 at 8:15 PM, Jeanfrancois Arcand
<Jeanfrancois.Arcand_at_sun.com> wrote:
>
>> I did get permission to share the sample.  Let me know if you want an
>> updated version that is a bit more complete and clean and I'd be happy
>> to pass that along when I have it.
>
> Great. Mainly, you just need to fa (or scan) the following file:
>
> https://glassfish.dev.java.net/public/GovernancePolicy.html
>
> If you scan it, send it to me and I will process it internally.

Will do and get back to you when I have.

>> This issue is the only one remaining that prevents us from moving
>> forward with the very capable comet support.  I've been talking it up
>> around here and there is interest in using it for a couple of other
>> future features in our software.
>
> OK I need to take a close look at what's happening. To clarify, I just need
> to install both extension, e.g. CometAsyncFilter and SendfileFilter, right?

Yes, that is right. Have both implementations classes configured in
the appropriate system property. I also have an allowedPath for
grizzly-sendfile of /* since our application vets security strictly
enough for this not to be a problem. We also never take direct user
input to find and serve a file with the x-sendfile capability.

I can send you the snippet of my domain.xml if that helps.


-T