我要评分
获取效率
正确性
完整性
易理解

Two Tomcat Processes Exist

Symptom

Two Tomcat processes exist at the same time.

Key Process and Cause Analysis

Tomcat processes can only be stopped by running a script instead of using the kill command. The previously started Tomcat process is not stopped. As a result, two Tomcat processes exist when another process is started.

Conclusion and Solution

  1. Stop the Tomcat process.
    sh shutdown.sh
  2. View the Tomcat process again.
    ps -ef | grep tomcat