Prevent tomcat from launching application deployment

Is there a way to tell Tomcat not to automatically launch the application that I want to deploy? I would like to do it manually.

+6
java java-ee tomcat
source share
2 answers

In CATALINA_HOME/conf/server.xml :

 <Host appBase="webapps" autoDeploy="false" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false"> 

Pay attention to autoDeploy="false"

+7
source share

I understand your question is how not to deploy your application when starting Tomcat - if so,

In <Host> in server.xml the deployOnStartup attribute set to false should do this.

But this will affect all web applications on this server. The default value is

+3
source share

All Articles