Tomcat provides various monitoring operations via JMX. The documentation describes how to enable and disable remote monitoring. But is it possible to disable local monitoring (i.e. from within a web app deployed to Tomcat itself)?
In other words, can I count on my webapp always being able to get the local MBeanServer
using (for example) JmxUtils#locateMBeanServer
?