Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 49995 invoked from network); 3 Nov 2003 22:23:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Nov 2003 22:23:52 -0000 Received: (qmail 31955 invoked by uid 500); 3 Nov 2003 22:23:12 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 31893 invoked by uid 500); 3 Nov 2003 22:23:12 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 31841 invoked from network); 3 Nov 2003 22:23:11 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 3 Nov 2003 22:23:11 -0000 Received: (qmail 2834 invoked by uid 50); 3 Nov 2003 22:23:17 -0000 Date: 3 Nov 2003 22:23:17 -0000 Message-ID: <20031103222317.2833.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 24250] - JMX ant task failed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24250 JMX ant task failed remm@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From remm@apache.org 2003-11-03 22:23 ------- I don't think I agree with this patch, so I've changed it: - queryMBeans should never return a null Set (according to the JMX 1.2 Javadocs - Tomcat 5 uses JMX 1.2) - if there are no MBeans, this is not an error (the fact that there are zero results should be displayed normally) OTOH: - Normalizing messages is *good* ("OK - " and "Error - "), and since the Ant task is looking for that ... - Removing e.printStackTrace is obviously good; I don't like the error handling of this servlet, but maybe it is adapted to the task --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org