Is there any way to tell Tomcat not to automatically start application which I want to deploy? I'd like to this manually.
In CATALINA_HOME/conf/server.xml
:
<Host appBase="webapps" autoDeploy="false" name="localhost" unpackWARs="true"
xmlNamespaceAware="false" xmlValidation="false">
Note the autoDeploy="false"
I understand your question as not deploying your app on starting Tomcat - if so,
At the <Host>
in server.xml
, deployOnStartup
attribute set to false
should do it.
But that will affect all webapps on that server. The default is true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With