1. Enable webadmintooluserusernameadminpasswordtomcatrolesadmin, manager Management url: http: 192.169.1.220admin2. use jconsole to view and add the following statement to the last line of startup. sh exec $ PRGDIR $ EXECUTABLEstart $ @ exportCATALINA_OP
1. Enable web admin tool
Management url: http: // 192.169.1.220/admin
2. Use jconsole to view
Add the following statement to the last line of startup. sh.ExEc "$ PRGDIR"/"$ EXECUTABLE" start "$ @" before
ExportCATALINA_OPTS = "$ CATALINA_OPTS-Dcom.SuN. management. jmxremote-Dcom. sun. management. jmxremote. port = 8849-Dcom. sun. management. jmxremote. ssl = faLsE-Dcom. sun. management. jmxremote. authentiCatE = false"
3. view the number of tomcat threads in real time
NetStat-Anlt |Grep80 | grep ESTABLISHED
4. view database connection information
Show processlist; or query infoRmAtion_schema implements SELECT user, host,Time, Command, time FROM [mysql | information_schema]. processlist WHERE user = 'me' and state is not null;
Show errors;