Linux下如何重新启动tomcat

时间:2014-08-26 11:25:45   收藏:0   阅读:217

1. 进入linux系统下tomcat的bin目录,

比如:cd /usr/local/apache-tomcat-7.0.42/bin

2. 关闭一下tomcat服务,特别是已经启动的情况下,只不过有些异常

  ./shutdown.sh

3. 检查一下tomcat是否确实已经关闭

ps -ef|grep java  

假如出现以下类似的提示,表示tomcat已经关闭

root     30248 30113  0 10:00 pts/0    00:00:00 grep java

4. 最后重新启动tomcat

./startup.sh

 

 



评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!