camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <>
Subject [jira] [Commented] (CAMEL-10681) camel-ehcache - configUri does not work appropriately
Date Mon, 09 Jan 2017 10:01:58 GMT


Luca Burgazzoli commented on CAMEL-10681:

So the issue is that there's no cache named "appCache" in the config file so that the ehcache
cache manager does not know how to create it unless you provide a cache configuration via
the "configuration" option. If you define your cache in the xml file, it should work with
classpath:... only.

> camel-ehcache - configUri does not work appropriately 
> ------------------------------------------------------
>                 Key: CAMEL-10681
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ehcache
>    Affects Versions: 2.18.1
>            Reporter: Sumit Kumar
>            Assignee: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 2.18.2, 2.19.0
>         Attachments: ehcache-config.xml
> camel-ehcache component fail to initialize cache for the provided value of configUri.
> Different option to setup the configUri were attempted, but everytime it gives the error
> Caused by: java.lang.IllegalArgumentException: CacheConfiguration must be specified 
>         at org.apache.camel.util.ObjectHelper.notNull( 
>         at org.apache.camel.component.ehcache.EhcacheConfiguration.getMandatoryConfiguration(

>         at org.apache.camel.component.ehcache.EhcacheManager.getCache(

>         at org.apache.camel.component.ehcache.EhcacheManager.getCache(

> As per documentation, the configuration option is "The default cache configuration to
be used to create caches if configUri is not set".
> So if i am setting up configUri than the error for configuration should not come.
> The approaches attempted for configUri are documented in the camel user forum at the
below link

This message was sent by Atlassian JIRA

View raw message