webtier@glassfish.java.net

configurable valves

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Thu, 08 Jan 2009 21:57:08 +0100

Hi all,

this has been bugging me for some time now - so I thought I probably
should start tackling it.

It all started about a year ago when I wanted to implement a custom
expires-header-valve. I posted a question on the dev-list stating that I
needed Valves to be configurable. I knew how to configure Valves on
Tomcat and was wondering how to do that on GlassFish as well.

Even though Valve support has since increased - it still lacks the
feature of configurability.

As recommended by Jean Francois I finally posted two RFEs:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4006
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4007

In theses RFEs I suggest a possible syntax for an asadmin command (4007)
and for the domain.xml (4006) file.

So given that these RFEs are still in UNCONFIRMED state I wonder what I
can do to implement these features myself - and whether these would be
considered useful at all. Maybe I'm the only one interested in them ;-)

_If_ implementing them would be welcomed there are some questions to
consider:

What about the suggested syntax? Who decides about this? What is the
general approach about getting consensus on stuff like this?

What about Grizzly config? I found one page on the Wiki about the
Grizzly config - but didn't find any actual config file in the
v3prelude. It looks like it would belong in here. Correct?

Finally: It's not like I do have a lot of time at hand. So implementing
might last a while.

I'm looking forward to any comments.


--
Wolfram Rittmeyer