Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: How to stop tomcat.exe


Message #1 by Edward <zhangsc@n...> on Mon, 27 May 2002 15:23:11 +0800
Tomcat is running as a service.  This is one of the options you can select 
if you download the .exe version from the Tomcat website 
(http://jakarta.apache.org/tomcat/).  If you install from the .zip version 
you do not have this version.

To manage services in W2k - goto Start-Settings-Control Panel-
Administration Tools-Services, and you can manage the Tomcat service from 
here.  You can stop it from starting by default, if you like so you can do 
it manually.

Alternatively, have a look at the manager app 
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html) which 
allows you to manage resources in your installation of Tomcat.  This means 
you can restart web applications etc.  This is very useful where you have 
a live site and need to restart (or deploy/undeploy etc) your application.

Hope this helps,
Andrew
Professional Java Servlets 2.3
http://www.amazon.com/exec/obidos/ASIN/186100561X
http://www.amazon.co.uk/exec/obidos/ASIN/186100561X


>   I have a question about tomcat,my os is Windows2000 professional,when 
I start my computer,and I use Windows task manager,I found tomcat.exe is 
running,like follows:

      Name         PID       CPU      CPUTIME     MemoryUse
   tomcat.exe      464       00       0:00:22      15016K

but I don't call Apache Tomcat4.0,so I want to stop it,so I choose stop 
Tomcat,but I found I can't stop it,at last I choose stop tomcat.exe 
process in Windows task manager.But I still can't stop it.Event I restart 
my computer,I still can't tomcat.exe,so I don't debug my servlet programs! 
Help!!!
Thanks in advance!
Edward

  Return to Index