Solution: & lt; net. sf. ehcache. util. UpdateChecker & gt;: New update (s) found: 2.6.5

Source: Internet
Author: User


Because ehcache is used in the project, the net. sf. ehcache. util. UpdateChecker doCheck will be printed every time tomcat starts.

I did not pay special attention to it before. When I started Tomcat today, I found the following output information:

{INFO} [07:42:10, 625] <net. sf. ehcache. util. UpdateChecker>: New update (s) found: 2.6.5 [summary. Please check http://ehcache.org fo
R the latest version.

Later, the analysis showed that EhCache had to connect to the ehcache website every time it was started to check the new version, so who was using ehcache, they were clear at a glance. (This backdoor exists in ehcache)

It turns out that Ehcache still has such a backdoor, which has never been noticed before.

To solve the problem, modify the configuration and disable update Detection:
Open ehcache. xml and change the attribute updateCheck of the first line to false, as shown below:
<Ehcache xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
Xsi: noNamespaceSchemaLocation = "ehcache. xsd" updateCheck = "false">

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.