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
Install mysql5.7.21 in the window environment. Th...
Taking Windows as an example, Linux is actually t...
1. Get is used to obtain data from the server, wh...
Nginx is a high-performance website server and re...
The reason for writing this article is that I wan...
This article shares the specific code of js to ac...
I followed the tutorial on W3school. I think the t...
1. Pull the redis image docker pull redis 2. Star...
Here 123WORDPRESS.COM presents the first part of ...
Table of contents Partitioning mechanism SELECT q...
Table of contents Preface The relationship betwee...
Table of contents Pitfalls encountered in timesta...
Preface Recently, I encountered such a problem wh...
CSS sets Overflow to hide the scroll bar while al...
1. Business scenario introduction Suppose there i...