问题场景: 若在应用中启动了用户线程,在Linux系统Tomcat进程使用shutdown无法关闭进程. 解决方案: #1.在catalina.sh文件中添加CATALINA_PID [root@localhost pc1]# vi bin/catalina.sh # CATALINA_PID (Optional) Path of the file which should contains the pid # of the catalina startup java process, when