How to install Tomcat Administration apps


1. To download tomcat admin apps click here

and unzip or untar the file containing the administration web app files and do following.

2. Go to the location apache-tomcat-5.5.28-admin\apache-tomcat-5.5.28\conf\Catalina\localhost and move admin.xml to C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost

3. Go to the location “apache-tomcat-5.5.28-admin\apache-tomcat-5.5.28\server\webapps\” and copy admin folder to C:\Program Files\Apache Software Foundation\Tomcat 5.5\server\webapps

4. Edit the file $catalina_home/conf/tomcat-users.xml, making sure it looks like this:

<?xml version=’1.0′ encoding=’utf-8′?>
<tomcat -users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="admin"/>
<role rolename="manager" />
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user rusername="admin" password="admin" roles="tomcat,manager,admin" />
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>

5. restart tomcat and now when you visit http://localhost:8080/admin you should see a page that asks for a user name and password.

6. You can follow the same above steps to install tomcat manager application

Related Posts: