Tomcat Home Page

Tomcat Administration Tools

Tomcat Home Page

IMPORTANT: In order to run the /admin applications you need to "trust it" and set a password. The /admin may be dangerous if left unprotected, and is disabled by default.
To enable the /admin you'll need to edit the file TOMCAT_HOME/conf/apps-admin.xml and change the "trusted" attribute to true. It should look like:
    <Context path="/admin" 
             docBase="webapps/admin" 
             trusted="true" >
            <SimpleRealm filename="conf/users/admin-users.xml" />
    </Context>

You can also do that by running the command:

Unix:
$TOMCAT_HOME/bin/tomcat run -enableAdmin

DOS:
%TOMCAT_HOME%\bin\tomcat.bat run -enableAdmin

Java2:
java -jar lib/tomcat.jar -enableAdmin

Mac,Netware: 
???

To change the admin password you'll have to edit TOMCAT_HOME/conf/users/admin-users.xml and change the "password" attribute.