Chapter 16: Monitoring and Managing Tomcat with JMX As another example, you can get a listing of all the connector MBeans using the following query: http://:
/manager/jmxproxy/?qry=*:type=Connector,* The result will be similar to what is shown in Figure 16-9 . Figure 16-9: Listing of all Connector MB eans Modifying MB ean Attributes Another operation you can perform with the JMX proxy is to change the attribute of an MBean. The general syntax for this operation is as follows: http://:
/manager/jmxproxy/?set=&att=&val= For example, the following procedure can be used during performance tuning to change the maximum number of threads managed by Tomcat 6 s threadpool in real time. You first need to query for the full MBean name of the exposed threadpool, as shown in the following example: http://:
/manager/jmxproxy/?qry=*:type=ThreadPool,*
For reliable and cheap web hosting services please check tomcat web hosting website.
This entry was posted
on Monday, October 26th, 2009 at 4:23 pm and is filed under tomcat.
You can follow any responses to this entry through the RSS 2.0 feed.
Responses are currently closed, but you can trackback from your own site.