Monitor JK-1.2.40 connection status through jkstatus

Source: Internet
Author: User
/* Through jkstatus monitoring JK-1.2.40 connection status * running * configuration jkstatus * 0) This article is based on the integration of Apache and tomcat using JK, the integration process see http://blog.csdn.net/jadyer/article/details/39613523 * 1) in workers. add two lines to the properties file: worker. list = status (actually worker. list = status, Tomcat) and worker. status. type = status * 2) add a line under the <directory/> label in the httpd-vhosts.conf file: jkmount/jkstatus status * 3) Restart Apache and access HTTP in the browser: // 192.168.0.103/jkstatus, the default access does not require the password * optional * configure the password to access jkstatus * 1) modify the httpd-vhosts.conf file, add the following content under the <directory/> label * <location/jkstatus> * options Multiviews * authtype basic # basic verification * authname "auther Center" # the pop-up box prompts * authuserfile CONF/. htpasswd # password storage location * require valid-user granted # only. users in the htpasswd file can enter * </location> * 2) generate the password file * run the command [/APP/Apache/bin/htpasswd-C/APP/Apache/CONF /. htpasswd admin], which is used to generate a password file containing the user admin *. At the same time, you will be asked to enter the new user admin password twice, finally, you can see the generated password file through [LS-Al] (it is a hidden file, you need-a to see) * 3) change the password * htpasswd-M. htpasswd username * 4) Delete the user * htpasswd-D. htpasswd username * 5) The last restart Apache can be * done * @ create Sep 27,201 4 3:36:34 * @ author Xuan Yu 

Monitor JK-1.2.40 connection status through jkstatus

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.