How to disable specific apps from starting during Tomcat startup?

前端 未结 4 1136
灰色年华
灰色年华 2021-01-04 10:54

My company is preparing a new production box while the current one is running. I would like to proactively install applications in Tomcat container of the new production box

4条回答
  •  梦毁少年i
    2021-01-04 11:38

    You can simply rename de WEB-INF directory inside the webapp that you don't want to auto-start to some other name like Disabled-WEB-INF, before starting tomcat.

    Later on, if you wish to start that app, while tomcat is running, simply rename back the directory to WEB-INF.

提交回复
热议问题