解决:<net.sf.ehcache.util.UpdateChecker> : New update(s) found: 2.6.5
来源:互联网 发布:淘宝客服用什么软件 编辑:程序博客网 时间:2024/06/07 04:58
因为项目用到了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">
2 0
- 解决:<net.sf.ehcache.util.UpdateChecker> : New update(s) found: 2.6.5
- Tomcat每次启动出现net.sf.ehcache.util.UpdateChecker doCheck
- 解决ehcache的UpdateChecker问题
- net.sf.ehcache.config.Configurator#configure : No configuration found.
- WARN : net.sf.ehcache.config.Configurator#configure : No co nfiguration found.Configuring ehcache
- WARN : net.sf.ehcache.config.Configurator#configure : No configuration found. Configuring ehcache fr
- hibernate:net.sf.ehcache.config.Configurator#configure : No configuration found. Configuring ehcache from ehcache-failsafe.xml f
- Hibernate4 net.sf.ehcache.Ehcache.getCacheConfiguration错误
- net.sf.json.util 包
- java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- net.sf.ehcache.CacheException:error setting options
- ERROR net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider
- 【解决】SSH项目问题(1)--Could not initialize class net.sf.json.util.JSONUtils
- Spring配置时异常net/sf/ehcache/E…
- hibernate报错java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- Maven项目遇到java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
- ERROR [net.sf.ehcache.Cache] - Unable to set localhost
- net.sf.ehcache.ObjectExistsException: Cache shiro-activeSessionCache already exists
- 那些不易注意到的Unity实用小功能
- 2BizBoxERP通过WebStart方式(JNLP)启动客户端
- LINUX下一款不错的网站压力测试工具webbench
- 8皇后问题--回溯法 (循环递归)
- Sqlite数据类型
- 解决:<net.sf.ehcache.util.UpdateChecker> : New update(s) found: 2.6.5
- Google服务全线被封:附解决方案
- AbstractQueuedSynchronizer实现源码解析(一)
- mysql float double 类型
- ipsec.conf(5) - Linux man page
- 如何写music apk
- WinForm_DataGridView一列多个按钮
- 简单网络爬虫Ruby版
- 【AndEngine游戏开发】第一章:2.选择我们的引擎类型