set CATALINA_HOME=C:\Users\Administrator\Desktop\apache-tomcat-8.0.53 // tomcat路径
call %CATALINA_HOME%\bin\shutdown.bat
ping -n 30 localhost > nul //延时30s执行启动文件
call %CATALINA_HOME%\bin\startup.bat
set CATALINA_HOME=C:\Users\Administrator\Desktop\apache-tomcat-8.0.53 // tomcat路径
call %CATALINA_HOME%\bin\shutdown.bat
ping -n 30 localhost > nul //延时30s执行启动文件
call %CATALINA_HOME%\bin\startup.bat
本文标题:bat文件重启tomcat
本文链接:https://www.haomeiwen.com/subject/pujlkqtx.html
网友评论