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

ASF GitHub Bot commented on CAMEL-7195:
---------------------------------------

GitHub user grgrzybek opened a pull request:

    https://github.com/apache/camel/pull/96

    CAMEL-7195 Removing default ehcache.xml configuration

    camel-cache component will not contain any default Ehcache
    configuration, falling back to /ehcache-failsafe.xml.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/camel CAMEL-7195

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/96.patch

----
commit 80402cbf343fea2c0e7bcba0caebcb4639f05b7d
Author: Grzegorz Grzybek <[email protected]>
Date:   2014-02-12T15:37:02Z

    CAMEL-7195 Removing default ehcache.xml configuration
    
    camel-cache component will not contain any default Ehcache
    configuration, falling back to /ehcache-failsafe.xml.

----


> Default ehcache.xml configure from camel-cache jar should not rely on 
> multicast 
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-7195
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7195
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cache
>    Affects Versions: 2.10.3
>            Reporter: Joe Luo
>
> Camel-cache component has a default ehcache.xml file embedded and it is used 
> for configuring ehcache. It configures a cacheManagerPeerProviderFactory to 
> use a built-in RMI-based distribution system by default which unfortunately 
> relies on multicast:
> {code}
> <cacheManagerPeerProviderFactory         
> class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
>             properties="peerDiscovery=automatic,
>                         multicastGroupAddress=230.0.0.1,
>                         multicastGroupPort=4446, timeToLive=1"
>             propertySeparator=","
>             />
> {code}
> It sometimes causes a problem when deploying a camel cache route due to 
> multicast/network configuration on it's host. 
> We should not rely on multicast in default ehcache configuration that is 
> enforced by ehcache.xml from camel-cache component jar. We should either 
> remove it from the jar to allow fallback to ehcache-failsafe.xml file from 
> ehcache library or modify the embedded ehcache.xml to avoid relying on 
> multicast.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to