EHC ❯ Update checker dumps stack when machine is offline
-
Bug
-
Status: Closed
-
1 Critical
-
Resolution: Fixed
-
ehcache-core
-
-
hhuynh
-
Reporter: cdennis
-
September 24, 2009
-
0
-
Watchers: 1
-
July 27, 2012
-
September 25, 2009
Description
Running standalone when the machine is not networked dumps the following stack trace to standard out… Alex says this shouldn’t happen
WARNING: Update check failed
java.net.UnknownHostException: www.terracotta.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.Socket.connect(Socket.java:524)
at sun.net.NetworkClient.doConnect(NetworkClient.java:155)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
at sun.net.www.http.HttpClient.
Comments
Hung Huynh 2009-09-25
Simeon Leyzerzon 2009-11-01
Hi, I recently upgraded to EhCache 1.7 and after that started seeing the following on the server startup:
Nov 1, 2009 11:58:03 AM net.sf.ehcache.util.UpdateChecker checkForUpdate WARNING: Update check failed: java.net.UnknownHostException: www.terracotta.org
What could be that we need to reconfigure so that doesn’t appear given the resolved status of this issue? Thanks, Simeon
Hung Huynh 2009-11-01
you can turn update check off. <cache updateCheck=”false” …
Simeon Leyzerzon 2009-11-01
in which config file, modifying ehcache.xml with above gives:
Caused by: org.xml.sax.SAXException: null:15: Element
We used Ehcache on top of caching Spring modules, no Terracotta yet.
Thanks. Simeon
Hung Huynh 2009-11-01
Sorry my example was incorrect. That attribute is part of
<ehcache udpateCheck=”true”…..
only error message is printed out. no stack trace