Patches item #856703, was opened at 2003-12-09 09:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=856703&group_id=22866
Category: JBossWeb Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Jarno Peltoniemi (jarnopeltoniemi) Assigned to: Nobody/Anonymous (nobody) Summary: ContainerStatsValve breaks up Initial Comment: ContainerStatsValve currently sets stats variable to null when the Valve is stopped. This results in two different problems: 1) In case of web.xml configuration failure (invalid auth-method specified for example) the Context is stopped but requests are still passed to it's pipeline. This results in weird NullPointerExceptions when accessing the web-app. See http://www.jboss.org/thread.jsp?forum=49&thread=43231. 2) If the Valves in the pipeline are reordered (call removeValve for all of them, then addValve in a different order), stop() is invoked on ContainerStatsValve and it starts throwing NullPointerExceptions on requests. The attached patch removes the line that sets the stats variable to null. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=856703&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
