Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5802

Share an existing global ehcache manager for ws security replay caches

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.11, 2.6.14, 3.0
    • Fix Version/s: 2.6.15, 2.7.12, 3.0.1
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In CXF if we are using ehcache for such as hibernate, cxf creates a separate ehcache manager. We can configure it to use the same ehcache.xml file, but still the additional manager is created.

      Enhance CXF to use a global ehcache manager, and a single ehcache.xml as configuration options.

      This will avoid the following errors in logs when CXF creates an additional manager when using a single ehcache.xml file

      net.sf.ehcache.DiskStorePathManager - diskStorePath '../tmp' is already used by an existing CacheManager either in the same VM or in a different process.
      The diskStore path for this CacheManager will be set to ../tmp/ehcache_auto_created2006383781232499638diskstore.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpell Jason Pell
                Reporter:
                jpell Jason Pell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: