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 –
- tomcat test page – http://localhost:8080/
- manager webapp – http://localhost:8080/manager/html
- host-manager webapp – http://localhost:8080/host-manager/html
just wanted to put the latest info out there.