• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

I use ehcache-1.3.0-beta.

After I create several caches with CacheManager.getInstance().addCache(name) with different name Strings all the caches return the same String for cache.getName().

It seems that the name is always the name of the last cache that was added. Of course, I don’t want all my caches to have the same name.

In my ehcache.xml is only a defaultCache configuration and no cache definitions for any of the names that I use. This is fine because the default config is ok for all my caches.

Apparently this issue has also been reported by a poster on the forum: https://sourceforge.net/forum/forum.php?thread_id=1718805&forum_id=322280

Attached is my ehcache.xml. Sourceforge Ticket ID: 1711496 - Opened By: odoepner - 2 May 2007 20:34 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira