Using Tomcat to publish multiple apps on the same server is a regular thing.
Frequently occurring problem, 1: Tomcat multiple applications cannot use the same port.
Today, there is a problem, and tangled for a long time. Recording..
When the first application was released, the Catalina_home was also configured in the environment variable according to the Java Development configuration on the Web.
So when the second app is published, the app is accessed and the page is never found.
Finally, the second app launches the path to the first app.
It was then found that the Catalina_home was configured in the environment variable, so the Startup.bat configuration started with the path of the first application.
Remove the CATALINA_HOME environment variable and let the Tomcat app automatically find the app in the current directory. Ok...
Tomcat publishing must be configured with Java_home, but can not be configured Catalina_home