Tomcat_this Web application instance has been stopped already

Source: Internet
Author: User

1, see: This Web application instance have been stopped already

Therefore, it is possible to send a reboot if Tomcat is required, which is the first condition of error.

2, see: Could not load ...

Look at this can't directly introduce the problem to produce conditions, but it is obviously about loading.

Summing up the above two points, popular point, is to restart the project (perhaps because of the direct modification of code, engineering reload), and, even after the database (login, etc.), the above error message appears.

Here is the Tomcat Server.xml configuration:

<context debug= "0" docbase= "E:\Workspaces\CTC-ERP_KF\web" path= "" reloadable= "false">
</Context>

The reason for this is that Tomcat reloads the Web application as a result of the failure. When an application unloads, it does not close all threads. When Tomcat has closed its classloader, some threads continue to run, causing an error. But this does not affect the normal use.

Context (Represents a Web application, usually a war file, see the servlet specification for specific information about the war) DocBase The path to the application or the path where the war file is stored
Path Represents the prefix of the URL for this Web application, so the requested URL is http://localhost:8080/path/****
Reloadable This property is important, and if true, Tomcat will automatically detect changes in the application's/web-inf/lib and/web-inf/classes directories, automatically load new applications, and we can change the application without restarting Tomcat (hot deployment)

Tomcat_this Web application instance has been stopped already

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.