Project: Tomcat
Bug 43887 StandardWrapper.registerJMX() doesn't log exceptions correctly
Reported: 2007-11-16 15:31:21 | Status: resolved fixed

I was getting some rather unhelpful error messages when trying to deploy a web.xml that included illegal servlet names. I tracked them down to this part of /org/apache/catalina/core/StandardWrapper.java: } catch( Exception ex ) { log.info("Error registering servlet with jmx " + this); } This should probably be changed to: log.info("Error registering servlet with jmx " + ex); Same thing for the catch block ten lines below this one. I first noticed this in 5.5.23, but this code is still present in 6.0 trunk.

Files changed in fix:
java/org/apache/catalina/core/StandardWrapper.java