How do I use Apache tomcat 7 built in Host Manager gui?

Solution for a fresh install of Tomcat 7 on Ubuntu 12.04.

Edit this file – /etc/tomcat7/tomcat-users.xml
to add this xml section –

<tomcat-users>
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<user username="tomcatadmin" password="tomcat2009" roles="admin,admin-gui,manager-gui"/>
</tomcat-users>

restart Tomcat –

service tomcat7 restart

urls to access managers –

  1. tomcat test page – http://localhost:8080/
  2. manager webapp – http://localhost:8080/manager/html
  3. host-manager webapp – http://localhost:8080/host-manager/html

just wanted to put the latest info out there.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)