解决:<net.sf.ehcache.util.UpdateChecker> : New update(s) found: 2.6.5

简介:

因为项目用到了ehcache,所以tomcat每次启动日志就打印net.sf.ehcache.util.UpdateChecker doCheck

以前也没有特别留意,今天在启动 Tomcat 的时候,发现了下面这段输出的信息:

{INFO } [2014-06-30 07:42:10,625] <net.sf.ehcache.util.UpdateChecker> : New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org fo
r the latest version.

后来分析才知道,EhCache在每次启动的时候都要连接到 ehcache 网站上去检查新版本,所以谁在用 ehcache,他们可是一目了然啊。(原来ehcache还有这么个后门)

原来 Ehcache 还有这么个后门,以前还真没注意过。

解决问题,修改配置,关闭更新检测:
打开 ehcache.xml 将第一行 <ehcache> 的属性 updateCheck 改为false,如下:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false">

目录
相关文章
|
4月前
|
开发框架 .NET API
在 .NET 9 中使用 Scalar 替代 Swagger
在 .NET 9 中使用 Scalar 替代 Swagger
111 29
|
11月前
|
存储 安全 编译器
【.NET Core】记录(Record)详解
【.NET Core】记录(Record)详解
366 1
Could not find com.serenegiant:common:4.1.1
Could not find com.serenegiant:common:4.1.1
296 0
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
218 0
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)
SAP PM入门系列23 - IL07 Functional Location List (Multilevel)
net.sf.ehcache.util.UpdateChecker.checkForUpdate问题解决方案
net.sf.ehcache.util.UpdateChecker.checkForUpdate问题解决方案
289 0
|
Python
解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
80329 0
|
存储 .NET 关系型数据库
.net core Entity Framework 与 EF Core
重点讲 Entity Framework Core ! (一)Entity Framework            它是适用于.NET 的对象关系映射程序 (ORM),现在的EF6已经是久经沙场,并经历重重磨难,获得一致认可的数据访问技术(原来加 Title 也挺有意思的,哈哈哈)。
1657 0
|
XML 数据格式
Confluence 6 "net.sf.hibernate.PropertyValueException: not-null" 相关问题解决
如果你遇到了下面的错误信息,例如: ERROR [Importing data task] [confluence.importexport.
835 0