您的位置:首页 > 运维架构 > Tomcat

tomcat重启脚本

2009-04-10 11:35 302 查看
::tomcat重启
@echo off
::tomcat作为系统服务运行,则需先安装tomcat5服务
rem D:/apache-tomcat-5.5.27/bin/service.bat install

@echo 正在停止tomcat5
rem net stop tomcat5
call "D:/apache-tomcat-5.5.27/bin/shutdown.bat"

::延时5秒
ping 127.0.0.1 -n 5 >null

@echo 正在启动tomcat5
rem net start tomcat5
call "D:/apache-tomcat-5.5.27/bin/startup.bat"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: