Exception occured while refreshing ACA cache

book

Article ID: 144550

calendar_today

Updated On:

Products

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

Issue/Introduction

Seeing an issue with some folks not being able to Login to Webview/Workstation. I see that there is an Exception that is occurring while its trying to refresh ACA cache. Below is the exact error message from the Logs.

1/17/20 06:22:17.866 AM EST [ERROR] [pool-21-thread-5] [Manager.AppMap] Exception occured while refreshing ACA cache for 'XXX'
java.lang.RuntimeException: com.wily.introscope.spec.server.beans.usermgmt.UserMgmtException: Unable to find user "XXX" because 10.10.1.80:3268
        at com.wily.introscope.server.beans.usermgmt.internal.UserManagementServiceBean.updateAcaCacheWithRealmData(UserManagementServiceBean.java:912)
        at com.wily.introscope.appmap.aca.entities.AcaAuthUpdate$2.run(AcaAuthUpdate.java:208)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.wily.introscope.spec.server.beans.usermgmt.UserMgmtException: Unable to find user "XXX" because 10.10.1.80:3268
        at com.wily.authentication.ldap.LdapRealm.getSafeUser(LdapRealm.java:263)
        at com.wily.introscope.server.beans.usermgmt.ARealm.userExists(ARealm.java:199)
        at com.wily.introscope.server.beans.usermgmt.internal.UserManagementServiceBean.updateAcaCacheWithRealmData(UserManagementServiceBean.java:878)
        ... 9 more

 

Cause

ACA cache needed clearing

Environment

Release : 10.5

Component : APM Agents

Resolution

Clear ACA cache.

Additional Information

Steps to follow :

delete all rows in aca_* tables.
e.g.
# /opt/PostgreSQL-9.2.15/bin/psql -d cemdb -U admin
cemdb=> delete from aca_acl;
cemdb=> delete from aca_audit;
cemdb=> delete from aca_group;
cemdb=> delete from aca_user;
cemdb=> delete from aca_user_group;
cemdb=> \q