Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-35

JCS.setConfigFilename() not documented properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • jcs-1.3
    • None
    • Composite Cache
    • None

    Description

      If an attempt is made to use the JCS.setConfigFilename() method to set the location of the cache.ccf file, this results in the vague error: "Failed to load properties for name".

      Looking in the source, the config file is loaded relative to the class org/apache/jcs/engine/control/CompositeCacheManager.java, though no explanation is given for why this object was chosen for the config file to be relative to, nor do the javadocs for setConfigFilename() offer any explanation as to the real config file behaviour.

      Attachments

        Activity

          People

            asmuts Aaron Smuts
            minfrin Graham Leggett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: