Troubleshooting
Problem
MCS: CacheManager warning in log file while starting the Weblogic application server
Symptom
This issue is seen when MCS is run on Weblogic in a clustered environment,
every time the server is started.
The error/warnings message is shown
below.
Env/[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default
(self-tuning)':WARN:CacheManager Creating a new instance of CacheManager using
the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was file located at
/usr/MCS/shared/WEB-INF/properties/UserCache.xml.
The diskStore path for
this CacheManager will be set to /tmp/ehcache_auto_created_1260435953025.
To avoid this warning consider using the CacheManager factory methods to
create a singleton CacheManager or specifying a separate ehcache configuration
(ehcache.xml) for each CacheManager instance.
Env/[ACTIVE]
ExecuteThread: '1' for queue: 'weblogic.kernel.Default
(self-tuning)':INFO:CMGT_SEARCH SearchConfigurationLoader: Loading Indexing
Configuration file
/usr/MCS/shared/WEB-INF/properties/SearchConfigurationProperties.xml
Resolving The Problem
The following can be done to avoid this issue. The basic idea is to define a different path for diskStore for each property file:
1. In the shared
folder, locate EhCache.xml and change the diskStore path to
<diskStore
path="java.io.EhCache"/>
2. In the shared folder, locate UserCache.xml
and change the diskStore path to
<diskStore path="java.io.UserCache"/>
3. In the properties folder of EACH NODE, locate
DistributedGlobalCache-Config.xml and change the diskStore path to
<diskStore path="java.io.GlobalCache"/>.
Historical Number
NFX8674
Product Synonym
[<p><b>]Escalation ID[</b><p>];123220;[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21560342