IBM Support

MCS Warning ConfigurationFactory No configuration found, ehcache-failsafe.xml being used Situation

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 Message

Snippet 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.

  1. a straightforward Tomcat restart
  2. delete the <tomcat home>/work directory contents and restart
  3. verify the ehCache.xml file is in the correct directory: <sdk home>/builds/<project>/WEB-INF/properties
  4. disable the Cache Cleanup cron job by setting the active_flag to "N" in the CMGT_CRON table then restart db and restart server
  5. a "stronger" kill -9 command

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS - Platform","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

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

Document Information

Modified date:
16 June 2018

UID

swg21555155