Windows服务器下重启Tomcat服务步骤

来自:互联网
时间:2019-08-24
阅读:

1、使用cmd进入dos界面

2、cd进入Tomcat安装目录

C:UsersAdministrator.MS-201606131808>E:
E:>cd apache-tomcat-8.0.26-Windows-x64apache-tomcat-8.0.26bin
E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26bin>

到bin目录之后,先关闭原来运行的Tomcat服务器

3、关闭方法:执行shutdown.bat指令

E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26bin>shutdown.bat
UsingCATALINA_BASE:     "E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26"
UsingCATALINA_HOME:    "E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26"
UsingCATALINA_TMPDIR: "E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26temp"
UsingJRE_HOME:                "C:ProgramFilesJavajdk1.8.0_31"
UsingCLASSPATH:              "E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26binbootstrap.jar;E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26bintomcat-juli.jar"
E:apache-tomcat-8.0.26-windows-x64apache-tomcat-8.0.26bin>

4、使用startup.bat重新启动Tomcat服务器。

返回顶部
顶部