标签:
关闭tomcat的时候,报出如下错误信息:
# ./shutdown.sh Using CATALINA_BASE: /opt/openkm-6.3.1-community/tomcat Using CATALINA_HOME: /opt/openkm-6.3.1-community/tomcat Using CATALINA_TMPDIR: /opt/openkm-6.3.1-community/tomcat/temp Using JRE_HOME: /opt/openkm-6.3.1-community/java Using CLASSPATH: /opt/openkm-6.3.1-community/tomcat/bin/bootstrap.jar:/opt/openkm-6.3.1-community/tomcat/bin/tomcat-juli.jar Using CATALINA_PID: /opt/openkm-6.3.1-community/tomcat/catalina.pid Tomcat did not stop in time. PID file was not removed. To aid diagnostics a thread dump has been written to standard out. #
修改方法:
# vim shutdown.sh exec "$PRGDIR"/"$EXECUTABLE" stop "$@" #改成如下 exec "$PRGDIR"/"$EXECUTABLE" stop -force "$@" #然后再执行shutdown.sh操作,ok,就不会报错,正常执行完毕了。
参考原文地址:
http://blog.csdn.net/mchdba/article/details/46482499
TOMCAT 关闭报错:Tomcat did not stop in time. PID file was not removed
标签:
原文地址:http://www.cnblogs.com/abclife/p/5662809.html