search cancel

CEM no longer getting data from the TIMs - error in EM logs shows /tmp/ (Permission denied).


Article ID: 8467


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE


 After restarting the EMs, CEM no longer updates with new data. When reviewing the logs of the EM running the CEM services, the following error appears:

[ERROR] [main] [org.springframework.web.context.ContextLoader] Context initialization failed 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userCacheBackend' defined in ServletContext resource [/WEB-INF/tess-security.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: userCacheCache: Could not create disk store. Initial cause was /tmp/ (Permission denied)


 If an EM is started as the root user, a file critical for processing CEM related data will be marked as owned by root - /tmp/

Restarting the EM and running it again as a non-root user will result in the application being unable to access the file.


EM running CEM services


 To resolve the problem, delete the file /tmp/, then restart the EM. It will recreate the file and then process CEM data normally.