This section stresses the importance of removing any unused web applications from the Tomcat Servlet Container.
Rationale
Generally, it is good practice to remove any unused web applications out of ${tomcat_home}/webapps.
Tomcat “ships” with several default web applications you may want to consider removing if they are not being utilized:
- The
ROOTapplication is Tomcat’sDocumentRootand contains the server’s main web page. Give thought to the content that is placed inROOT/, as it will be readily available. Note: if you want to utilize arobots.txtfile to restrict crawler activity,ROOT/is the place it will go. - The
managerapplication is used for remote management of web applications. To use this application, you must add a user with role ofmanager-guiintomcat-users.xml. Obviously, if you are not planning to use the Manager application, it should be removed. - The
host-managerapplication is used for management of virtual hosts. To use this application, you must add a user with role ofadmin-guiintomcat-users.xml. If you are not planning to do a lot of virtual hosting in Tomcat this application should be removed. - The
examplesapplication should probably be removed from a production server to minimize security exposure. - The docs are a copy of the Online tomcat documentation.
Unless you have need for a local copy, removing docs would help to tidy-up
${tomcat_home}/webapps.