Server restart, stop and start

After the restart tomcat server will hang

cd / usr / share / tomcat // enter tomcat
 
systemctl Status tomcat     // check the status of the tomcat

 

 

 

After the restart tomcat hangs up the dead Description

 Start tomcat systemctl      // start tomcat 

systemctl Status tomcat    // Check again tomcat status

 

 

 

tomcat start, but still can not access the page at this time 

Then I put the root of the web server tomcat items are deleted, re-upload packaged react like this document

If you start the next map with http-bio-8080, we will be able to directly access the

 

 jar package must restart

If the environment is a window to upload a file, .sh files need to re-format dos2unix 

dos2unix run.sh 
//converting file run.sh to UNIX format ...
dos2unix start.sh
//converting file start.sh to UNIX format ...
dos2unix stop.sh
//converting file stop.sh to UNIX format ...

chmod u+x *.sh

./run.sh

 

 

 

At this interface, and you can access the page

 

Guess you like

Origin www.cnblogs.com/dianzan/p/11780476.html