Tomcat 2020.11.10, directory browsing, jvm memory monitoring, jmx remote calling, tomcat management platform

Tomcat 2020.11.10

directory browsing

JVM memory monitoring interface

Jmx remote call (tomcat remote monitoring)

tomcat management platform


Disclaimer: This article is just the landlord's own learning record

  1. directory browsing
    1. Modify the default web page name, modify the web.xml configuration file
      insert image description here
      insert image description here

    2. Create other webpage files and restart tomcat
      insert image description here
      insert image description here

    3. visit website
      insert image description hereinsert image description here

  2. JVM memory monitoring interface
    1. Create a web file
      insert image description hereinsert image description here

    2. visit website
      insert image description hereinsert image description here

  3. Jmx remote call (tomcat remote monitoring)
    1. Tomcat host

      1. Add the context.xml configuration file and restart tomcat
        insert image description here
        insert image description here
        insert image description here

      2. Set its user and password
        insert image description hereinsert image description hereinsert image description hereinsert image description here

    2. Remotely control the host (requires JDK environment)
      1. Turn off the firewall and selinux
      insert image description here
      2. Turn on the graphical software for monitoring
      insert image description here
      insert image description here

      选择远程进程:192.168.117.33:8080->用户名:monitorRole->密码:123456->连接->点击不安全连接->即可看到里面监控的页面

  4. tomcat management platform
    1. Application management platform

      1. Modify the context.xml configuration fileinsert image description hereinsert image description here

      2. Modify the administrator configuration file tomcat-users.xml
        insert image description here
        insert image description here

      3. Restart tomcat and access the management interface.
        insert image description here
        insert image description here
        insert image description here
        The username is manager and the password is 123456.

Guess you like

Origin blog.csdn.net/weixin_43645454/article/details/109607654