Start automatically an application of a specific version at tomcat startup

asked 2017-08-31 09:01:13 +0800

LuigiFabbri gravatar image LuigiFabbri
46 5

updated 2017-08-31 09:01:56 +0800

Hello to all,

Is there a way to automatically start a certain application of a specific version at tomcat startup?


I have two appications, app##001.war and app##002.war, I want when tomcat start that app##002.war switched on and app##001.war switched off

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-01 06:49:41 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

You can either

  • set <Host autoDeploy="false">
  • <Host deployIgnore="app002.war" >


Ref: http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#UserWebApplications

link publish delete flag offensive edit


Thanks Hawk, deployIgnore is perfect

LuigiFabbri ( 2017-09-01 10:32:47 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2017-08-31 09:01:13 +0800

Seen: 9 times

Last updated: Sep 01 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More