Bug 53398

Summary: Incorrect tag on XML response when calling 'manager/status?XML=true'
Product: Tomcat 7 Reporter: Albertico <aacv>
Component: ManagerAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 7.0.21   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: Manager Status XML Response

Description Albertico 2012-06-11 16:39:14 UTC
Created attachment 28909 [details]
Manager Status XML Response

When calling 'manager/status?XML=true' on Tomcat Server the XML response includes incorrect 'requestBytesRecieved' attributes on some '<worker>' nodes.

Attribute should read 'requestBytesReceived'.  Seems like a typo when generating the 'requestBytesReceived' attribute for some nodes (Recieved != Received).

Error can be generated using the CURL command to get the Tomcat status response:

curl "http://<tomcat-server-address>/manager/status?XML=true" --basic -u <user>

(This assumes a user has already been defined with the proper privileges to access the status API command).
Comment 1 Mark Thomas 2012-06-11 20:20:44 UTC
Thanks for the report. This has been fixed in trunk and 7.0.x and will be included in 7.0.28 onwards.