Stopping Tomcat server while it's starting
I hit ShiftF10 and Tomcat server is starting but then I want to stop it (CtrlF2) right away before the start process has completed.
In this case the "java" process of Tomcat is left running in the memory (after pressing "Disconnect" in "Process 'XYZ' is running" dialog and IDEA displaying "Waiting for VM detach" - which, btw not always ends and is left stuck sometimes)
Same problem was with running Ant build files - stopping it rigth after start was causing a similar behavior.
请先登录再写评论。
It's known problem (http://www.jetbrains.net/jira/browse/IDEADEV-25707).
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Tomcat server is stopped by sending a stop command to a dedicated port.
If you try to send this stop command before Tomcat has started listening
on this port, then you're out of luck. The only thing which IDEA could
try to do is to block the stop button until this dedicated port is open.
Evgeny Goldin wrote: