tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43887] New: - StandardWrapper.registerJMX() doesn't log exceptions correctly
Date Fri, 16 Nov 2007 23:31:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43887

           Summary: StandardWrapper.registerJMX() doesn't log exceptions
                    correctly
           Product: Tomcat 5
           Version: 5.5.23
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mbaranczak@gmail.com


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message