The shutdown.bat file has a sentence if not "%CATALINA_HOME%" == "" goto gotHome When executing the shutdown command, the program will search according to CATALINA_HOME. This means that if the path configured by the environment variable is not empty, this will be executed, otherwise " The solution is to if not "%CATALINA_HOME%" == "" goto gotHome Add rem in front to comment it out, so that each time the command is executed, only the current path will be operated. Right now: rem if not "%CATALINA_HOME%" == "" goto gotHome Similarly, if the port configuration for starting Tomcat is invalid (address already in use), add rem to this place in startup.bat. As shown in the figure: Summarize The above is what I introduced to you to solve the problem that shutting down Tomcat using shutdown.bat will shut down other Tomcats. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: A brief discussion on innodb's index page structure, insert buffer, and adaptive hash index
Network Communication Overview When developing an...
1. Introduction Is it considered rehashing old st...
Table of contents think 1. Greedy Snake Effect Pi...
The effect we need to achieve: What is needed The...
What should I do if Linux does not support all co...
Table of contents 1. Pull the image 2. Create a l...
System environment: centos7.4 1. Check whether th...
Vulnerability Details VSFTP is a set of FTP serve...
Index merging is an intelligent algorithm provide...
When compiling and installing Nginx, some modules...
1. Download Download mysql-5.7.19-linux-glibc2.12...
After installing Jenkins, the initial download of...
I recently wrote a mobile page at work, which was...
This article shares a blinds special effect imple...
1. Docker installation and settings #Install Cent...