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/01 Report--
Xiaobian to share with you how to restart tomcat under Linux, I believe most people still do not know how, so share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
Tomcat, as the mainstream web server, needs to be restarted after some modifications to take effect.
Linux restart tomcat specific steps First, enter the bin directory under Tomcat
cd/usr/local/tomcat/bin Using Tomcat shutdown command
./ shutdown.sh Check if Tomcat is closed
ps-ef| grep java Tomcat is not closed if it displays a message similar to the following
root 12976 1 0 Sep01 ? 00:10:00 PM 22/usr/java/jdk1.7.0_80/bin/java-Djava. util. logging. config. file =/usr/local/tomcat/conf/www.example.com-Djava. util. logging. manager = org. apache. j. uli. ClassLoaderLogManager-Djdk. tls. ephemeralDHKeySize = 2048-Djava. endorsed. dirs =/usr/local/tomcat/endorsed-classpath/usr/local/tomcat/bin/bootstrapSize = 2048-Djava. endorsed..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 Tomcat processes directly
kill-9 12976 Then continue to see if Tomcat is off
ps-ef| grep java Tomcat is down if the following message appears
root 19955 19757 0 17:48 pts/0 00:00:00 grep java Start Tomcat
./ startup.sh I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
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.