Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7005

Remove ehcache.xml file and ehcache dependency from oldcore

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 3.2 M3
    • 3.2 M2
    • Old Core
    • None
    • Unknown

    Description

      ehcache.xml is the configuration file for Ehcache.

      Ehcache used to be the default second level cache of Hibernate but since Hibernate 3.2+ it's no longer the default (which is now no second level cache), and needs to be explicitely defined in hibernate.cfg.xml to be used (which we're not doing).

      See:

      In addition we shouldn't have a second level cache set up since this would cause issues when our clustering is enabled.

      We can thus safely remove ehache.xml since:

      • the ehache.xml file is not used
      • we don't need such a cache (since we do our own document level caching)
      • it can cause issue in cluster mode

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: