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
When the created tab label exceeds the visible ar...
Vulnerability Introduction The SigRed vulnerabili...
brew install nginx Apple Mac uses brew to install...
Preface Under the influence of some CSS interacti...
1. Qualitative changes brought by CSS variables T...
This article example shares the specific code of ...
1. First, an error message is reported when assoc...
Table of contents 1. Form events 2. Mouse events ...
To beautify the table, you can set different bord...
1. Set firewall rules Example 1: Expose port 8080...
register The front-end uses axios in vue to pass ...
1. Add users and groups 1. Add mysql user group #...
This article shares the specific code of the vue-...
accomplish This effect is difficult to replicate ...
Edit docker-compose.yml and add the following con...