How to get admin access to Tomcat 7 on OS X Yosemite

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.

    1. In your terminal, go to /usr/local/Cellar/tomcat7/7.0.63/libexec/conf
    2. vim tomcat-users.xml
    3. Add the following:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.