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.
I have fixed this (with a slightly different patch) in trunk and proposed it for inclusion in 6.0.x and 5.5.x
Fixed in 6.0.x.
Fixed in 5.5.x and will be included in 5.5.26 onwards.