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

Remove ehcache.xml file and ehcache dependency from oldcore

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 M2
    • Fix Version/s: 3.2 M3
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: