In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The content of this article mainly focuses on what is the command to restart the Tomcat server in Linux. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!
Tomcat server is an open source Web application server, which is a lightweight application server. It is used by many people and is the first choice for developing and debugging JSP. Let's teach you the service commands of Tomcat.
Under the Linux system, restart Tomcat using the command operation!
First, go to the bin directory under Tomcat
Cd / usr/local/tomcat/bin
Use the Tomcat close command
. / shutdown.sh
Check to see if Tomcat closes
Ps-ef | grep java
If the following similar message is displayed, Tomcat has not been turned off
Root 12976 10 Sep01? 00:10:22 / usr/java/jdk1.7.0_80/bin/java-Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-Djdk.tls.ephemeralDHKeySize=2048-Djava.endorsed.dirs=/usr/local/tomcat/endorsed-classpath / usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar-Dcatalina.base=/usr/local / tomcat-Dcatalina.home=/usr/local/tomcat-Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start
* if you want to kill Tomcat directly, you can use the kill command to kill the Tomcat process directly
Kill-9 12976
Then continue to see if Tomcat is closed
Ps-ef | grep java
If the following message appears, Tomcat has been shut down
Root 19955 19757 0 17:48 pts/0 00:00:00 grep java
Start Tomcat
. / startup.sh
Check the tomcat log (remember to switch paths)
Tail-f catalina.out
Thank you for your reading. I believe you have a certain understanding of "what is the command to restart Tomcat server in Linux". Go ahead and practice it. If you want to know more about it, you can follow the website! The editor will continue to bring you better articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.