Tomcat multi-project startup sequence problem

When there are multiple projects under toamcat webapp at the same time, the startup sequence is not based on the folder name or any order, in order to control the startup sequence, you can add files in tomcat/config/Catalina/localhost


Assuming that the project folder that needs to be started first is notify_taihang

Then create a new notify_taihang.xml file in this folder

The content of the file is

<?xml version='1.0' encoding='utf-8'?>
 <Context path="/notify_taihang" debug="0" docBase="notify_taihang" reloadable="true"></Context> 





Reference: http://www.iteye.com/problems/2311

http://blog.csdn.net/changyinling520/article/details/71036515

Guess you like

Origin blog.csdn.net/zwx_lucky/article/details/79160168