Windows服务器下重启Tomcat服务步骤
导读
1、使用cmd进入dos界面
2、cd进入Tomcat安装目录
C:\Users\Administrator.MS-201606131808>E: E:\>cd apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin>
到bin目录之后,先关闭原来运行的Tomcat服务器
3、关闭方法:执行shutdown.bat指令
E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin>shutdown.bat UsingCATALINA_BASE: "E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26" UsingCATALINA_HOME: "E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26" UsingCATALINA_TMPDIR: "E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\temp" UsingJRE_HOME: "C:\ProgramFiles\Java\jdk1.8.0_31" UsingCLASSPATH: "E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin\bootstrap.jar;E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin\tomcat-juli.jar" E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin>
4、使用startup.bat重新启动Tomcat服务器。
评论(0)