Troubleshooting
Problem
MCS Warning ConfigurationFactory No configuration found, ehcache-failsafe.xml being used Situation
Symptom
The cache is corrupted. This can be identified by a WARN message in the log that shows a problem with the ehcache-failsafe.xml.
Error MessageSnippet from first log:
2009.08.11 10:21:38:188
Env/Thread-1:INFO:CacheManagersHelper > contextDestroyed
2009.08.11
10:21:38:188 Env/Thread-1:WARN:ConfigurationFactory No configuration found.
Configuring ehcache from ehcache-failsafe.xml found in the classpath:
jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps
/ecomm/WEB-INF/lib/ehcache-1.2.4.jar!/ehcache-failsafe.xml
2009.08.11
10:21:38:314 Env/Thread-1:INFO:CacheManagersHelper < contextDestroyed</p>
<p>Snippet from second log:</p> <p>2009.09.22 11:33:15:509
Env/Thread-3:INFO:CacheManager VM shutting down with the CacheManager still
active. Calling shutdown.
2009.09.22
11:33:16:524 Env/Thread-4:INFO:CacheManagersHelper > contextDestroyed
2009.09.22 11:33:16:536 Env/Thread-4:WARN:ConfigurationFactory No configuration
found. Configuring ehcache from ehcache-failsafe.xml found in the classpath:
jar:file:/apps/thedevqa/tomcat5/webapps/theqa/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
2009.09.22 11:33:16:542
Env/Thread-4:ERROR:CacheManagersHelper Shutdown in progress
java.lang.IllegalStateException: Shutdown in progress
at
java.lang.Shutdown.add(Shutdown.java:81)
Resolving The Problem
There are many ways to deal with a corrupt cache. Consider the situation carefully.
- a straightforward Tomcat restart
- delete the <tomcat home>/work directory contents and restart
- verify the ehCache.xml file is in the correct directory: <sdk home>/builds/<project>/WEB-INF/properties
- disable the Cache Cleanup cron job by setting the active_flag to "N" in the CMGT_CRON table then restart db and restart server
- a "stronger" kill -9 command
Historical Number
NFX7129
Product Synonym
[<p><b>]Severity[</b><p>];Critical;[<p><b>]Type[</b><p>];NormalFix;[<p><b>]Build[</b><p>];7.1 and up
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21555155