MBeans provide potentially important properties and operations to the Apache Tomcat administrator. In this topic, we'll explore how to access MBeans using the jconsole application that is provided in the JDK.
To learn how to use MBeans in Windows follow these steps:
jconsoleand hit Enter.
examplesweb application that is shipped with Tomcat. Open WebModule -> //localhost/examples -> none -> none -> Operations -> start as illustrated below:
startoperation will start the
examplesweb application. To invoke the operation, click the start button. Note that a
stopoperation is also available on the list of operations, and this action will stop the web application (attempts to access a stopped web application will result in Tomcat sending an HTTP status of 404 to the browser).