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

CompositeCacheAttributes cannot be cast to ICompositeCacheAttributes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: jcs-1.3, jcs-2.0-beta-1, jcs-2.0-beta-2, jcs-2.0, jcs-2.1
    • Fix Version/s: jcs-2.0-beta-2
    • Component/s: Composite Cache
    • Labels:
    • Flags:
      Important

      Description

      When setting the CompositeCacheManager properties programmatically as follows

      CompositeCacheManager ccm = CompositeCacheManager.getUnconfiguredInstance();
      Properties props = new Properties();
      ...
      ccm.configure(props);

      The exception
      org.apache.jcs.engine.CompositeCacheAttributes cannot be cast to org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes
      is thrown

      Note: This problem was not present in jcs-1.3.jar downloaded from the website however exists in all versions downloaded through Maven repository

        Attachments

          Activity

            People

            • Assignee:
              tv Thomas Vandahl
              Reporter:
              lyou0001 Lisa Young
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: