EHC ❯ Ehcache-dx: SocketTimeoutException: Read timed out
-
Bug
-
Status: Closed
-
1 Critical
-
Resolution: Fixed
-
ehcache
-
-
hsingh
-
Reporter: hsingh
-
November 05, 2009
-
0
-
Watchers: 0
-
January 17, 2013
-
November 06, 2009
Description
It works fine but sometimes it throws exception on console
java.net.SocketTimeoutException: Read timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1360)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1354)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at org.terracotta.ehcachedx.dashboard.util.HttpUtils.getConnectionContent(HttpUtils.java:80)
at org.terracotta.ehcachedx.dashboard.util.HttpUtils.getConnectionContent(HttpUtils.java:69)
at org.terracotta.ehcachedx.dashboard.util.HttpUtils.getHttpConnectionContent(HttpUtils.java:22)
at org.terracotta.ehcachedx.dashboard.util.DashboardRestProxy.registerClient(DashboardRestProxy.java:27)
at org.terracotta.ehcachedx.dashboard.DashboardServer.registerWithMaster(DashboardServer.java:207)
at org.terracotta.ehcachedx.dashboard.DashboardServer.start(DashboardServer.java:144)
at org.terracotta.ehcachedx.dashboard.DashboardPeerListener.init(DashboardPeerListener.java:33)
at net.sf.ehcache.event.CacheManagerEventListenerRegistry.init(CacheManagerEventListenerRegistry.java:104)
at net.sf.ehcache.CacheManager.init(CacheManager.java:307)
at net.sf.ehcache.CacheManager.
Comments
Geert Bevin 2009-11-06
Himadri Singh 2009-11-16
Not getting this exceptions any more. Version 5011
Increased timeout to 30 secs and added ‘ehcachedx.connection.timeout.seconds’ system property to be able to configure it