Hi Ivan, This dev list discussion [1] captures some of the most recent work done in this area. There is a solution at the end provided by Gianny that I don't think I've ever personally tried. I believe the fix is in trunk, but I'm not sure about the 2.1.X stream. This jira [2] also highlights a different approach to solving this problem.
[1] http://www.nabble.com/An-idea-for-defining-custom-valves-in-config.xml-td19804490s134.html#a19804490 [2] https://issues.apache.org/jira/browse/GERONIMO-4113 Hope this helps, On Fri, Apr 24, 2009 at 3:41 AM, Ivan <[email protected]> wrote: > Hi, I wish to add a user defined Tomcat Valve, but where shall I place the > the ValveGBean XML description and the implemented class ?If I put it > under in the tomcat module , and then change the nextValve attribute of the > AccessLog, but in this way, it seems in this way, tomcat module could not > find my defined class. I wonder shall we add a new dependency for those > existed modules ? > Thanks in advance ! > -- > Ivan > -- ~Jason Warner
