Start and Stop Tomcat


SuSE 9.2 - 10.0

The following commands assume that the pre-packaged version of Tomcat has been installed.

To start Tomcat:

$ su
# rctomcat5 start

To stop Tomcat:

$ su
# rctomcat5 stop

To restart Tomcat:

$ su
# rctomcat5 start

To get the status of Tomcat:

$ su
# rctomcat5 status

Fedora Core 3 & 4

The following commands assume Tomcat was manually installed to the /opt directory.

To start Tomcat:

$ su tomcat
$ /opt/tomcat/startup.sh

To stop Tomcat use:

$ su tomcat
$ /opt/tomcat/shutdown.sh

Windows XP

The easiest way to control Tomcat on Windows is to use the Tomcat Monitor tool. This is available by selecting Start -> All Programs-> Apache Tomcat 5.0 -> Monitor Tomcat. Once it is started you will notice a new icon on your taskbar. Right-click on the icon to start and stop the tomcat service. If you want the tomcat service to automatically start on boot-up right-click on the icon and select "Configure". Then change startup type to "Automatic".

 

© University of Southampton IT Innovation Centre, 2005