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
I have seen some dynamic routing settings on the ...
Windows 10 now supports Linux subsystem, saying g...
Database modification or deletion operations may ...
Generally speaking, after the container is starte...
In CSS files, sometimes you need to use background...
Table of contents 1. Add attributes 2. Merge mult...
This article introduces a tutorial about how to u...
Official website explanation: When a component is...
A jQuery plugin every day - jQuery plugin to impl...
Shell is a program written in C language, which i...
When href is needed to pass parameters, and the p...
During the development process, if garbled charac...
Event bubbling, event capturing, and event delega...
I have always used Loadrunner to do performance t...
After the changes: innodb_buffer_pool_size=576M -...