码迷,mamicode.com
首页 > 其他好文 > 详细

TOMCAT 关闭报错:Tomcat did not stop in time. PID file was not removed

时间:2016-07-12 11:45:41      阅读:401      评论:0      收藏:0      [点我收藏+]

标签:

关闭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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!