You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2015/11/20 14:09:11 UTC

[jira] [Commented] (JCS-150) CompositeCacheAttributes cannot be cast to ICompositeCacheAttributes

    [ https://issues.apache.org/jira/browse/JCS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15017998#comment-15017998 ] 

Thomas Vandahl commented on JCS-150:
------------------------------------

Can I please have a look at your configuration? It looks like the config file has not been updated to use the new package names.

> CompositeCacheAttributes cannot be cast to ICompositeCacheAttributes
> --------------------------------------------------------------------
>
>                 Key: JCS-150
>                 URL: https://issues.apache.org/jira/browse/JCS-150
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Composite Cache
>    Affects Versions: jcs-1.3, jcs-2.0-beta-1, jcs-2.0-beta-2, jcs-2.0, jcs-2.1
>            Reporter: Lisa Young
>            Assignee: Thomas Vandahl
>              Labels: maven
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)