How to restart tomcat
- 2020-05-13 03:50:34
- OfStack
1. Enter the bin directory of tomcat under the linux system,
For example: cd /usr/local/ apache-tomcat-7.0.42 /bin
2. Shut down the tomcat service for 1 time, especially if it has been started, with some exceptions
./shutdown.sh
3. Check 1 to see if tomcat is actually turned off
ps -ef|grep java
If the following similar prompt appears, tomcat is closed
root 30248 30113 0 10:00 pts/0 00:00:00 grep java
4. Finally restart tomcat
./startup.sh