I have configured my local installation of Tomcat v4.1.30 as an external tool in Eclipse 3.0 / MyEcliipse v3.8.0. I have set up the command line to start Tomcat using a .BAT file that uses “run” rather than “start” so that Tomcat stays captive within Eclipse. This works for for starting it up from the external tools menu. However, when I terminate the instance of Tomcat from within Eclipse I find that although Eclipse says it was terminated, it is in fact still running and doesn’t show anything additional in the “Console” window within Eclipse. TASKMGR.EXE still reports “java.exe” is running and my webapp is still responding. If I go to a command prompt and manually run the “shutdown.bat” file in the “bin” folder of my Tomcat installation then Tomcat shuts down.
Even if I exit from Eclipse, the instance of Tomcat will continue to run detached w/o a console unless I use “shutdown.bat” to terminate Tomcat.
My question is why does Tomcat continue to run after Eclipse has supposedly terminated it, or else why does Eclipse fail to properly terminate the captive instance of Tomcat that it was running in the Eclipse console?