Problem Description
Every startup item recently throws the following exception:
2018-03-29 09:01:07,831 DEBUG [Ehcache] Net.sf.ehcache.util.UpdateChecker.checkForUpdate (updatechecker.java:107)- Update Check Failed:java.io.IOException:Server returned HTTP response code:403 for url:http://www.terracotta.org/kit/ reflector?pageid=update.properties&patch=unknown&tc-product=ehcache-core+2.9.0&tc-version=2.9.0 &uptime-secs=1&kitid=ehcache.default&jvm-version=1.8.0_151&os-name=mac+os+x&id=-1062731415 &source=ehcache-core&jvm-name=java+hotspot%28tm%29+64-bit+server+vm&platform=x86_64 at Sun.net.www.protocol.http.HttpURLConnection.getInputStream0 (httpurlconnection.java:1894) ~[?:1.8.0_151] at Sun.net.www.protocol.http.HttpURLConnection.getInputStream (httpurlconnection.java:1492) ~[?:1.8.0_151] at Net.sf.ehcache.util.UpdateChecker.getUpdateProperties (updatechecker.java:153) ~[ehcache-2.9.0.jar:2.9.0] at Net.sf.ehcache.util.UpdateChecker.doCheck (updatechecker.java:117) ~[ehcache-2.9.0.jar:2.9.0] at NET.SF.EHCAche.util.UpdateChecker.checkForUpdate (updatechecker.java:104) [ehcache-2.9.0.jar:2.9.0] at Net.sf.ehcache.util.UpdateChecker.run (updatechecker.java:95) [ehcache-2.9.0.jar:2.9.0] at Java.util.TimerThread.mainLoop (timer.java:555) [?: 1.8.0_151] at Java.util.TimerThread.run (timer.java:505) [?: 1.8.0 _151]
After the study found that the original is the Ghost Ehcache, each start will visit the official website to see if there is the latest version, so you can also count how many users and servers in the use of Ehcache. Most likely a backdoor program, which is turned on by default. Solution
Locate the Ehcache.xml file, add the attribute updatecheck= "false" in the Ehcache tag, as follows:
<ehcache name= "Ehcache" updatecheck= "false" >
or modified in the following way:
<ehcache xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:nonamespaceschemalocation= " Ehcache.xsd "updatecheck=" False >
Restart again, the problem can be resolved.