[
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12048#comment-12048
]
Ivo Ladage - van Doorn commented on AMDATUOPENSOCIAL-143:
---------------------------------------------------------
In fact, even when you change this value to "1", ehCache is still initialized
since Amdatu passes the shindig.cache.ehcache.config module to the Guice
injector, which will then at least initialize and start ehCache. Therefore the
better patch is:
- Do not pass the ehcache module to the guice injector if the
'shindig.cache.ehcache.config' entry is empty in the
org.amdatu.opensocial.shindig.cfg
- Update the ehCache.xml file with the default values (copy from shindig)
> Shindig bundle ehcache config doesn't disable caching
> -----------------------------------------------------
>
> Key: AMDATUOPENSOCIAL-143
> URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-143
> Project: Amdatu OpenSocial
> Issue Type: Bug
> Components: Shindig
> Affects Versions: 0.2.0
> Reporter: Arthur Meijer
> Fix For: 0.2.1
>
>
> The opensocial-shindig bundle contains an ehcacheConfig.xml to disable all
> shinding ehcaches instances:
>
> amdatu\amdatu-opensocial\opensocial-shindig\src\main\resources\conf\ehcacheConfig.xml
> The settings in this config file do not disable the cache, instead they
> indicate no capacity limit:
> [2011-11-30 14:05:25] WARNING: Cache: parsedXml has a maxElementsInMemory of
> 0.
> In Ehcache 2.0 this has been changed to mean a store with no capacity limit.
> Set it to 1 if you want no elements cached in memory
> These entries should be changed to "1"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers