• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • hsingh
  • Reporter:
  • November 18, 2009
  • 0
  • Watchers: 0
  • January 17, 2013
  • November 18, 2009

Description

In Ehcache 1.6 the web package was broken out into the ehcache-web module. However the ShutdownListener is useful even if you are not using web caching - you use it to shutdown a CacheManager in a web app, when the servlet container shuts down. For that reason it should be in core. Putting it back.

Comments

Himadri Singh 2009-11-24

  1. Add following to in ehcache-dx-sample webapp. Note: The project doesnt have dependency on ehcache-web.
net.sf.ehcache.constructs.web.ShutdownListener
  1. Change log4j logging level to DEBUG
  2. Log prints out DEBUG [net.sf.ehcache.constructs.web.ShutdownListener] - Shutting down 4 CacheManagers.

Verified in rev 1451