Is it possible to turn off auto-start for some (but not all) app servers deployed on Tomcat?

Solution 1:

You should be using the host-manager or the Tomcat manager for this. Also, in the server.xml file, you can turn off the ones you don't wanted started up by using this: DeployOnStartup="false"

Example:
<Host name="learn" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false" DeployOnStartup="false">
    <Context path="" docBase="C:/Dev/web/learn/www" />
</Host>
Reference:
  • https://stackoverflow.com/questions/5067062/how-to-disable-specific-apps-in-tomcat