BigMemory 4.3.9 | Product Documentation | BigMemory Go Developer Guide | Class Loading | Loading of ehcache.xml Resources
 
Loading of ehcache.xml Resources
If the configuration is otherwise unspecified, BigMemory Go 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 Go 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).