Tomcat performance monitoring tool probe Quick Start

Source: Internet
Author: User
Tags tomcat

Tomcat version: 6.0.41

Probe version: 2.3.3

One, Tomcat does not have a default user account, so you need to add the Tomcat user account first

Modify $catalina_home/conf/tomcat-users.xml:

<tomcat-users>
<!--user Role--
<role rolename= "manager"/>
<!--user account
--< User username= "admin" password= "admin" roles= "manager"/>
</tomcat-users>

Then restart Tomcat

Second, deploy probe applications

Mode 1:

Throw the Probe.war under the $catalina_home/webapps and restart Tomcat.

Mode 2:

Login to the Tomcat Welcome page (ex: http://127.0.0.1:8080/)

It is important to note that the $catalina_home/webapps contains the root folder (Welcome page) and the Manager folder (Tomcat Management page), which you would like to remove from your production environment. If these two folders do not exist, simply copy the two folders to $catalina_home/webapps and restart Tomcat

The path to the root app is "/" and will cause the app to start failing if the path to the other web app you are deploying is also "/"

The application configuration $CATALINA _home/conf/server.xml is as follows:

<context docbase= "/home/sean/web/webroot" path= "/" reloadable= "false" >
	<resourcelink global= "Database "Name=" Database "type=" Javax.sql.DataSource "/>
</Context>

This will cause the app to start failing (path conflict, where you need to modify the value of the Path property, such as: Path= "/app")

The account is the previously configured Admin/admin, and all Web apps under Tomcat can be seen after successful login

Select Probe.war, then click Deploy, and the app will be included in Tomcat's management scope:

You can now enter the probe page (for example: Http://127.0.0.1:8080/probe, if you need a password, or admin/admin)

Third, monitor Tomcat performance with probe

1. Monitor Application Status

Tap into each app to see more detailed monitoring information

2, monitoring database connection

3. Deploy the App

4, monitoring log information

You can view all the log information for Tomcat itself and the log information that Tomcat manages to print the app, and filter the required log information based on the log level

5. Monitor Cluster operation status

Support for tomcat5.5.x cluster monitoring only

6. Monitor the status of all threads

7. Monitor and Count Tomcat connections

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.