• Bug
  • Status: Closed
  • 1 Critical
  • Resolution: Fixed
  • ehcache-core
  • asingh
  • Reporter: hsingh
  • November 09, 2009
  • 0
  • Watchers: 0
  • December 01, 2009
  • November 10, 2009

Description

While trying to close terracotta clustered ehcache by net.sf.ehcache.CacheManager.shutdown() caused following exception

java.lang.UnsupportedOperationException at org.terracotta.modules.ehcache.store.ClusteredStore.dispose(ClusteredStore.java:218) at net.sf.ehcache.Cache.dispose(Cache.java:1629) at net.sf.ehcache.CacheManager.shutdown(CacheManager.java:910) at tc.lrt.ehcache.EhcacheDxHelper.shutdownAll(EhcacheDxHelper.java:166) at tc.lrt.ehcache.clients.EhcacheDxClient.run(EhcacheDxClient.java:89) at tc.lrt.ehcache.clients.EhcacheDxClient.main(EhcacheDxClient.java:107)

Comments

Alex Miller 2009-11-09

dispose() should be silently ignored in a ClusteredStore. Don’t throw exception or log warning.

Abhishek Singh 2009-11-10

Fixed

Himadri Singh 2009-11-16

Verified in

2009-11-15 21:19:50,927 [main] INFO com.tc.plugins.ModulesLoader - BuildInfo for module: org.terracotta.modules.tim-ehcache-1.7 BuildInfo-User: cruise BuildInfo-Revision: 19369 BuildInfo-Timestamp: 20091112-132802 BuildInfo-URL: http://svn.terracotta.org/svn/forge/projects/tim-ehcache/trunk/tim-ehcache-1.7 BuildInfo-Host: rh5vfm0.terracotta.lan