Bug 61216

Summary: Enhanced output format of CompositeData and TabularData in JMXProxy
Product: Tomcat 9 Reporter: Alexis Hassler <alexis.hassler>
Component: ManagerAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: -----   
Hardware: PC   
OS: Linux   

Description Alexis Hassler 2017-06-24 22:41:46 UTC
CompositeData and TabularData are printed with toString in the Manager JMXProxy. It makes the result hard to read (for a human) and to grep.

CompositeData could be represented as {key1=value1, key2=value2,...}. TabularData could be printed like arrays.
Comment 1 Alexis Hassler 2017-06-24 23:33:07 UTC
PR sent (#67)
Comment 2 Mark Thomas 2017-06-26 17:16:11 UTC
Thanks for the patch. It has been applied to 9.0.c for 9.0.0.M23 onwards.

I'm not planning on back-porting it since, while users should not depend on the exact format out this sort of output, experience is that they do.