Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3823

Our extensive EHCache configuration is ignored

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      5
    • Documentation Status:
      Not Required

      Description

      We have two EHCache configurations:  one for dspace-services and one for Hibernate.  But both configurations are created as singleton, which means we really only have one cache manager, and it's using the minimal config. for services, ignoring the intricate setup for Hibernate because by the time Hibernate starts up the factory already has a configured singleton to just hand back without doing anything.

      EHCache won't allow two managers using the same config. and Hibernate has no way to accept an existing manager.  So I think we need to make at least one of these attempts non-singleton ("unshared").

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwood Mark H. Wood
              Reporter:
              mwood Mark H. Wood
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: