![]() |
|
|
|
|
Change By:
|
Roman Kovařík
(03/Feb/15 9:25 AM)
|
|
Summary:
|
Verify if we still need to load defaults from ehcache-failsafe.xml
Revise EhCacheFactory
|
|
Description:
|
# Register {{cacheManager}} with context path. # Verify if we still need to load defaults from ehcache-failsafe.xml
In {{info.magnolia.module.cache.ehcache.EhCacheFactory#start}} we do {{ConfigurationFactory.parseConfiguration()}}, which is meant to load ehcache default configuration in case we have none. While this *might* be interesting for users who'd want to have an xml based configuration, this seems counter-intuitive with our tree-based configuration. Besides, when there is no specific xml configuration, ehcache fallbacks on its {{ehcache-failsafe.xml}} file, which :
1)
-
logs a warning about not finding configuration, which is confusing (since there IS configuration, we just haven't tried loading it yet)
2)
-
only sets up a default cache config and a disk store path - and we always reconfigure both of these.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------