5kits zhao

How to restart Tomcat service in cPanel server

In order to restart Tomcat service, you need to:
# cd /usr/local/jakarta/tomcat/bin/
After that, you firstly stop the service:
# ./shutdown.sh
Now you may restart it by using the command below:
# ./startup.sh
If you see the result as below, then the Tomcat already running:
root@server [/usr/local/jakarta/tomcat/bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/jakarta/tomcat
Using CATALINA_HOME: /usr/local/jakarta/tomcat
Using CATALINA_TMPDIR: /usr/local/jakarta/tomcat/temp
Using JRE_HOME: /usr/local/jdk
Using CLASSPATH: /usr/local/jakarta/tomcat/bin/bootstrap.jar

Leave a Reply