12:18:55,541 INFO [UpdateChecker] New update(s) found: 2.0.0 [http://ehcache.org/news.html]
12:18:55,541 INFO [UpdateChecker]发现新的更新:2.0.0 [http://ehcache.org/news.html]
How do I suppress ehcache checking for new update(s), this is happening while loading my j2ee application and when ehcache is getting initialized.
如何抑制ehcache检查新的更新,这是在加载我的j2ee应用程序和ehcache初始化时发生的。
2 个解决方案
#1
33
One way is to place a ehcache.xml
on your classpath.
一种方法是在类路径上放置ehcache.xml。
With the attribute updateCheck=”false”
in the root tag the haunting is gone.
根标签中的属性updateCheck =“false”,令人难以忘怀。
Here you can find more information about it: http://www.svenlange.co.za/2010/02/disable-ehcaches-updatechecker-in-grails-application
在这里您可以找到更多相关信息:http://www.svenlange.co.za/2010/02/disable-ehcaches-updatechecker-in-grails-application
Another way is to do the following:
另一种方法是执行以下操作:
System.setProperty("net.sf.ehcache.skipUpdateCheck", "true");
#2
18
simply put, in your ehcache.xml configuration file, make sure you disable the updateCheck :
简单地说,在你的ehcache.xml配置文件中,确保你禁用updateCheck:
<ehcache updateCheck="false">
<defaultCache
maxElementsInMemory="0"
eternal="false"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
overflowToDisk="false"
diskPersistent="false"
/>
</ehcache>
#1
33
One way is to place a ehcache.xml
on your classpath.
一种方法是在类路径上放置ehcache.xml。
With the attribute updateCheck=”false”
in the root tag the haunting is gone.
根标签中的属性updateCheck =“false”,令人难以忘怀。
Here you can find more information about it: http://www.svenlange.co.za/2010/02/disable-ehcaches-updatechecker-in-grails-application
在这里您可以找到更多相关信息:http://www.svenlange.co.za/2010/02/disable-ehcaches-updatechecker-in-grails-application
Another way is to do the following:
另一种方法是执行以下操作:
System.setProperty("net.sf.ehcache.skipUpdateCheck", "true");
#2
18
simply put, in your ehcache.xml configuration file, make sure you disable the updateCheck :
简单地说,在你的ehcache.xml配置文件中,确保你禁用updateCheck:
<ehcache updateCheck="false">
<defaultCache
maxElementsInMemory="0"
eternal="false"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
overflowToDisk="false"
diskPersistent="false"
/>
</ehcache>