Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

To monitor tomcat service, a special "tomcat7-admin" package is used. It can be downloaded from Ubuntu repositories:

apt-get install tomcat7-admin

When the package is installed, user account should be set up for authorization in the monitoring system:
The file $TOMCAT_HOME/conf/tomcat-users.xml (standard SoftWLC installation uses /var/lib/tomcat7/conf/tomcat-users.xml path) should be supplemented by the following lines:

<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>

After that, restart tomcat7 service:

service tomcat7 restart

To use service monitoring GUI, enter the following URL in your browser: http://localhost:8080/manager, where localhost should be replaced by the server's IP address.
Login = admin, password = admin, according to the tomcat-users.xml configuration file.
GUI for monitoring is as follows:

tomcat1.png
Applications monitoring

tomcat3.png
Resources monitoring


Further guidance can be found here: http://tomcat.apache.org/tomcat-7.0-doc/manager-howto

  • Нет меток