Tomcat服务器怎么重启?

2024-12-04 23:44:49
推荐回答(1个)
回答1:

Tomcat服务器重启的办法:

第一步:使用cmd进入dos界面

第二步:进入Tomcat安装目录

C:\Users\Administrator.MS-201606131808>E:

E:\>cdapache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bi

E:\apache-tomcat-8.0.26-windows-x64\apache-tomcat-8.0.26\bin>

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

第三步:关闭方法:执行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>

第四步:使用startup.bat重新启动Tomcat服务器。