Solve the problem of slow tomcat running

Source: Internet
Author: User

I don't need to talk about tomcat servers. The biggest difference is that it is easy to use and quick to start. However, during development, tomcat may be slow due to some minor issues. There are many solutions to this problem on the Internet. Let's take a look at the most unreliable solutions.
 
1. Restart tomcat
 
2. delete comments in tomcat server. xml.
 
3. Restart your computer once
 
4. Change tomcat
 
 
I think these methods are unreliable. If you encounter them, try them. It really cannot do anything. Next I will introduce you to a few more reliable practices.
 
1. Delete all files in the "work \ Catalina \ localhost" directory under the tomcat installation directory.
 
2. Check whether the server. xml configuration is invalid. Generally, if tomcat runs a large project, it will be OK.
 
3. Set reloadable to "false"
 
<Context path = "/BridgeFS" docBase = "E: \ school \ BridgeFS \ webroot" reloadable = "false"> </Context>
 
4. Delete invalid files in the webapps directory. Too many files cannot be stored here.
 
5. The program cannot open too many breakpoints
 
6. Start tomcat in Running Mode
 
7. Delete unnecessary jar packages in the project

From Nothing is impossible

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.