Status

 
We are stating to gather status from our tomcat servers and log them via RRD. This is fairly easy to do via a web service approach, but I noticed the HTTP connector never has any status info.

Turns out only the jk connector has status information because, not all connectors are created equal. The HTTP connector (really a special type of worker) doesn't support all the attributes that the jk connector does. The one below, which is on by default and the reason the tomcat manager app is able to provide status on the jk connector;

request.registerRequests

This attribute controls request registration for JMX monitoring of the Connector. It is enabled by default, but may be turned it off to save a bit of memory.

Comments