tomcat重启脚本
2015-09-26 11:07
435 查看
瞎写了一个tomcat重启脚本。
#!/bin/bash cur_path=$(cd `dirname $0`;pwd) echo $cur_path echo 'stop tomcat:'"$cur_path"".............................." ps -ef|grep $cur_path|grep -v 'grep\|restart.sh'| awk '{print $2}'|xargs kill -9 sleep 1 echo 'start tomcat ..........................................' $cur_path/startup.sh
相关文章推荐
- 在Tomcat7中部署Solr5.x
- TOMCAT内存溢出及大小调整
- intellij IDEA如何将Web项目导出为WAR包,直接部署到tomcat或者Jboss上
- tomcats配置流程记录
- CentOS-6.5-64位下搭建jdk7 + mysql5.5 + tomcat7 + nginx
- How to Run Multiple Tomcat Instances on One Server?
- MAC下Tomcat 8.0.26的下载与安装
- tomcat7.0 安装启动之后localhost:8080页面进不去,提示错误500
- Nginx+Tomcat实现动静分离
- bat批处理完成jdk tomcat的安装
- solr5.2和tomcat整合
- 一台电脑配置多个tomcat,同时运行,互不冲突
- Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are解决方法
- nginx + tomcat 集群实现负载均衡
- Target runtime Apache Tomcat v7.0 is not defined.
- Nginx+Tomcat7+Mencached负载均衡集群部署笔记
- 直接双击启动tomcat中的startup.bat闪退原因及解决方法
- linux 上关于tomcat 日志 tail -f 显示乱码
- tomcat server获取用户的请求地址
- Intellij Idea中运行tomcat 报內存溢出 解决方案