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