facebook

Tomcat won’t stop as external tool

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213909 Reply

    choppc
    Member

    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?

    #213924 Reply

    Riyad Kalla
    Member

    choppc,
    This question is really an Eclipse question and should be posted to their mailing lists or newsgroups here: http://www.eclipse.org/mail/index.html

    THese forums are for support using the MyEclipse product, not general Eclipse help.

    P.S.> If I knew the answer to your question I’d let you know, but I don’t off hand.

    #213925 Reply

    Riyad Kalla
    Member

    Moving to random thoughts

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Tomcat won’t stop as external tool

You must be logged in to post in the forum log in