How to disable the Ehcache update checker?

One way is to place a ehcache.xml file on your classpath with the attribute updateCheck="false" in the root tag.

For example:

<ehcache updateCheck="false">
  <defaultCache
    maxElementsInMemory="0"
    eternal="false"
    timeToIdleSeconds="0"
    timeToLiveSeconds="0"
    overflowToDisk="false"
    diskPersistent="false"/>
</ehcache>

Another way is to set an environment variable:

System.setProperty("net.sf.ehcache.skipUpdateCheck", "true");

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)