Information
Tomcat allows auto deployment of applications while Tomcat is running. It is recommended that this capability be disabled.
Rationale:
This could allow malicious or untested applications to be deployed and should be disabled.
Solution
In the $CATALINA_HOME/conf/server.xml file, change autoDeploy to false.
autoDeploy='false'
Default Value:
autoDeploy is set to true.
References:
https://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#Deploying_on_a_running_Tomcat_server
https://tomcat.apache.org/tomcat-8.0-doc/config/host.html