Tomcat project deployment problems

Source: Internet
Author: User
Tags apache tomcat

My local tomcat version: Apache Tomcat/8.0.3.0

Server: Apache Tomcat/6.0.37

All JVMs are: 1.7.0 _ 40-b43

Previously, the project was running normally. After I updated some modules, the redeployment (export war package) encountered a problem, but there was no problem in testing on my local machine. The server prompts the following error:

The following web applications were stopped (reloaded, undeployed), but theirclasses from previous runs are still loaded in memory, thus causing a memoryleak (use a profiler to confirm):/MyApp

After Google's review, it is generally said that there is a problem with the project itself, some say that there is a problem with the configuration file, and some say that the jar is repeated. For some previous reasons, I have been skeptical about the problem of quartz, but I have not found any problem, so I transferred the problem to Tomcat, the same problem still occurs when I change Tomcat on the server to 8.0. Why is there no problem in deploying Tomcat on my local server ??

The division method is used to compare with the previous project. It is found that a jar package is added under my Lib, and the reason for this jar package is suddenly unknown, this jar package used V2 before, And I later added the latest V3 version. The Code styles of these two versions are quite different. I did not remove them after testing, after the jar package is removed, the above problems no longer occur after redeployment.

 

Tomcat project deployment problems

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.