Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restart tomcat 6 in ubuntu [closed]

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

like image 504
Pritesh Mahajan Avatar asked Apr 21 '12 14:04

Pritesh Mahajan


People also ask

How do you restart Tomcat?

Open the Services window (C:\Windows\system32\services. msc). Locate IDM Apps Tomcat Service. Select Start, Stop, or Restart.


1 Answers

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 
like image 160
jmj Avatar answered Sep 30 '22 14:09

jmj