Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1868

When using EHDefaultStore in overflow-to-disk=false mode, shutting the jvm down results in a spoolToDisk error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • 2.1.10, 2.2
    • * Cocoon Core
    • None
    • Patch available

    Description

      When using EHDefaultStore in overflow-to-disk=false mode, shutting the jvm down results in a spoolToDisk error. This is because diskPersistent is not Parameterizable and always TRUE. However, when overflow-to-disk is false (caching in memory only), when shutting the JVM down, ehcache is trying to flush the cache to disk because diskPersistent is true.

      Added diskPersistent parameter, which is FALSE when overflow-to-disk is false, and default TRUE when overflow-to-disk is TRUE.

      Attachments

        1. EHDefaultStore.patch
          2 kB
          Ard Schrijvers
        2. EHDefaultStore-2.patch
          2 kB
          Ard Schrijvers

        Activity

          People

            antonio Antonio Gallardo Rivera
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: