users@grizzly.java.net

Grizzly 2.1 and AJP

From: Mohan KR \(mkannapa\) <"Mohan>
Date: Wed, 27 Apr 2011 18:47:40 -0500

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