users@grizzly.java.net

Re: Grizzly 2.1 and AJP

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Thu, 28 Apr 2011 12:38:04 +0200

Hi Mohan,

we will check what happened with AJP documentation section, not that
it's incomplete, it's just broken :)

> Oops sorry..Looked at the sample..Looks like the AjpAddOn does the job.
>
Correct.

Thanks.

WBR,
Alexey.


>
> *From:*Mohan KR (mkannapa) [mailto:mkannapa_at_gmail.com]
> *Sent:* Wednesday, April 27, 2011 6:48 PM
> *To:* users_at_grizzly.java.net
> *Subject:* Grizzly 2.1 and AJP
>
> Greetings,
>
> I have a *standalone* grizzly web container (using jersey), I'm
> looking for some options on how to support
>
> AJP. Some of the messages in the archive and weblog point you to
> Grizzly 1.9.x implementation. Is there
>
> any sample code on how to achieve this?
>
> I started to look at the documentation, but it appears to be not
> complete yet. So I decided to hack together
>
> an approach from the picture in the documentation. Can someone tell
> me if I am on the right path and a
>
> potential problem I have run into.
>
> 1) I am starting out with a FilterChainBuilder, with a Custom
> NetworkListenerBuilder.
>
> 2) The doc mentions, that if add a FilterChain to the listener than
> all *no* default filters will be configured :(.
>
> 3) At this point I decided to take the code from "configureListener"
> in HttpServer to build my filter chain.
>
> Issue 1:
>
> * Is it possible to make the getDelayedExecutor public? Right
> now it is pkg-private and I need it to build
>
> some filters.
>
> 4) I'm assuming the AJB filter and handler go *immediately* after
> the Transport Filter? Is that a correct assumption?
>
> or should it go after the SSLFilter?
>
> If someone has a better way I would very much appreciate it, thanks
> a lot!
>
> Thanks!
>
> Regards,
>
> Mohan KR
>