How to restart tomcat 6 in ubuntu

Pritesh Mahajan picture Pritesh Mahajan · Apr 21, 2012 · Viewed 233.5k times · Source

How can one restart and start Tomcat 6 on Ubuntu from the command line with a default installation?

Answer

Jigar Joshi picture Jigar Joshi · Apr 21, 2012

if you are using extracted tomcat then,

startup.sh and shutdown.sh are two script located in TOMCAT/bin/ to start and shutdown tomcat, You could use that

if tomcat is installed then

/etc/init.d/tomcat5.5 start
/etc/init.d/tomcat5.5 stop
/etc/init.d/tomcat5.5 restart