In continuing the path to learn more about Tomcat 7, I had to configured my local instance to give me admin access to the “Server Status,” “Manager App,” and “Host Manager” pages. It was actually quiet easy.
- In your terminal, go to /usr/local/Cellar/tomcat7/7.0.63/libexec/conf
- vim tomcat-users.xml
- Add the following:
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui,admin-gui"/>