How start and stop Tomcat in Cpanel server

Posted: February 28, 2014 in Cpanel, Tomcat

Sometimes the cpanel script to restart tomcat /scripts/restartsrv_tomcat will not work.

For that I found directly running tomcat startup file as user root will get the tomcat working.

How to start tomcat:

/usr/local/jakarta/tomcat/bin/startup.sh

How to stop tomcat:

/usr/local/jakarta/tomcat/bin/startup.sh

Thats all 🙂

Note: If you want to disable it completely, you have to recompile the easyapache and uncheck the tomcat.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s