BigMemory 4.4.0 | Product Documentation | BigMemory Max Developer Guide | Class Loading | Loading of ehcache.xml Resources
 
Loading of ehcache.xml Resources
If the configuration is otherwise unspecified, BigMemory Max looks for a configuration in the following order:
*Thread.currentThread().getContextClassLoader().getResource("/ehcache.xml")
*ConfigurationFactory.class.getResource("/ehcache.xml")
*ConfigurationFactory.class.getResource("/ehcache-failsafe.xml")
BigMemory Max uses the first configuration found. Note the use of "/ehcache.xml", which requires that ehcache.xml be placed at the root of the classpath (i.e., not in any package).