This section provides a tutorial example on how to review the Apache Tomcat server status Web page, which provides HTTP and AJP protocol service statuses; Tomcat, JVM, and OS information; as well as a link to list all running applications.
After adding user role, name and password in the tomcat-users.xml configuration file,
I went on to see if I can use it to access the server status page on the Web GUI.
1. Shut down and re-start the Tomcat server.
2. Visit http://localhost:8080/ with a Web browser again and click on the "Server Status" button.
3. Enter "herong" as username and "s3cret" as password. The "Server Status" page shows up:
4. Review each section on the status page:
Manager - Provide the link to the "List Applications" page.
Server Information - Apache Tomcat/9.0.12; JVM Version: 10.0.1+10; OS Name: Windows 7; OS Architecture: amd64; ...
OS - Physical memory:3839.61 MB; Available memory:886.44 MB; Total page file:8156.43 MB; ...
JVM - Free Memory:28.78 MB; Total Memory:60.00 MB; Max Memory:960.00 MB.
"ajp-apr-8009" (AJP = Apache JServ Protocol) -
No AJP requests are being processed at port 8009.
"http-apr-8080" - 1 HTTP request is being processed at port 8080,
"GET /manager/status HTTP/1.1". That is the request for the server status page.