Linux deployment project encounters problem resolution

Source: Internet
Author: User

Using Linux to deploy Web projects, you may encounter a variety of issues that cause service startup failures, and the following are problems with my recent deployment projects and solutions

First, the scene: Put the war package into the Tomcat WebApps folder, and then start the Tomcat service has been error, and then delete the war package, try to start an empty tomcat, or the error in the report

Solution: Use the ps-ef|grep Java command to query all processes, found that the application process is still in, using the kill-9 Process number command, the process is killed, restart it;

Second, the scene: The service started successfully, when accessing the application does not normally access, reported HTTP Status 503-this application is not currently available error

Solution: Because the development environment is inconsistent with the JDK version on Linux, the local program is recompiled, packaged, deployed, restarted, and resolved with the same version of the JDK on the server.

Linux deployment project encounters problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.