Idea to stop tomcat needs to be pressed twice

java SSM framework. It takes two clicks to stop tomcat in IDEA, and the second time there is a forcibly closed skull. What"s going on? How to solve it?

clipboard.png

clipboard.png

Oct.16,2021

there are still some threads in the project that are not closed.
as for how to solve what is wrong with reading the newspaper, the problem I encountered before is that ehcache has threads occupying the disk, so configuring overflowToDisk to "false" is Ok.
this does not affect the use. Do not use shutdown.sh, on the official server. Kill the process directly


this problem has been bothering me for a long time, and now I have solved it. My situation is that the original tomcat does not know what it is running and cannot be turned off (cannot be renamed. When you are using), idea to turn off tomcat, you need to click twice to close it. Today, when I changed a new tomcat, and decompressed it, I didn't have to register. This is a reference tutorial. I downloaded https://blog.csdn.net/a785334. from this tutorial. I suspect that the old tomcat has been having problems and can only be started, not closed.
Ps: in fact, the skull of idea is forced to close tomcat. If you need to forcibly close tomcat, every time you stop, it means that there is something wrong with tomcat itself.

after reading so much on the Internet, I found that only two people asked this question. Write down the answer here to facilitate future search.


idea tomcat server configuration window. Check Demploy applications configured in Tomcat instance to solve this problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3dc58-2c3b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3dc58-2c3b1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?