Tomcat7在ubuntu上自动停止

时间:2015-12-04 05:46:47

标签: apache tomcat ubuntu tomcat7 ubuntu-server

Tomcat7自动停止并显示此错误 在运行命令

sudo service tomcat7 status

 Tomcat servlet engine is not running, but pid file exists

2 个答案:

答案 0 :(得分:0)

你关注这篇文章。你会

[Tomcat servlet engine is not running, but pid file exists. What does this message mean? Do I need to recover Tomcat if I get it?][1]

答案 1 :(得分:0)

/etc/tomcat7/server.xml评论此行

 <Context path="/lni" docBase="/dspace/webapps/lni" allowLinking="true"/> 

然后重启tomcat。