Apache Tomcat Common Issues

15 June 2017

Apache Tomcat

Apache Tomcat has been one of the most popular server for deploying production grade web applications.It has been couple of years since i have been using Apache Tomcat.During that time i have faced multiple issues ranging from trivial to complex.This post will address some of the issues and possible solutions.

Adding Users with privileges

To add your user as admin, one needs to update the $TOMCAT_HOME/conf/tomcat-users.xml .

<tomcat-users>
    <role rolename="admin-gui"/>
    <role rolename="manager-gui"/>
    <role rolename="manager-status"/>
    <user username="admin" password="admin" roles="admin-gui,manager-gui,manager-status"/>
</tomcat-users>
Share: Twitter Facebook Google+ LinkedIn
comments powered by Disqus