O'Reilly logo

Apache Tomcat 7 Essentials by Tanuj Khare

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling Tomcat Manager

By default, the Tomcat Manager is disabled in Tomcat 7. It is a very powerful tool, but if it goes to the wrong hands, then it can create a problem for the system administrator or the application administrator. So it's very important that you enable Tomcat Manager with proper security.

How to enable the Tomcat Manager

For enabling the Manager, we have to edit tomcat-users.xml, which is present in TOMCAT_HOME/conf. You will see that Tomcat users are commented out, as shown in the following screenshot:

How to enable the Tomcat Manager

Uncomment the user and save the file, followed by reloading Apache Tomcat 7, as shown in the following screenshot:

Tip

If you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required