tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <je...@ptc.com>
Subject Re: Tomcat 6.0.16 Startup Listener
Date Tue, 12 Feb 2008 01:03:07 GMT
That sounds about right.

A patch seems obvious, but I'd (1) like to see this in the source tree 
for 6.0.17 and so on and (2) like to snag this same version of the 
source to patch into our 6.0.16.

--
Jess Holle

Tim Funk wrote:
> Unless I am misreading something - this looks to be an accident in 
> web.xml processing. See lines 198 - 209 in trunk for
> org.apache.catalina.startup.WebRuleSet and you'll see this twice:
>
> digester.addCallMethod(prefix + "web-app/listener/listener-class",
>                                 "addApplicationListener", 0);
>
> In a quick test - any listener in web.xml is called out as a dup if 
> declared in web.xml
>
> So we went from not reporting to spuriously reporting due to a very 
> old bug which wasn't a bug because dups were ignored but now is a bug 
> since we call out that you tried to register a dup. (But you didn't 
> register a dup, we just called addListener twice)
>
> doh.
>
> -Tim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message