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
Release : 10.5
Component : APM Agents
ACA cache needed clearing
Clear ACA cache.
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
For Oracle, run the commands from your SQL Developer utility and then commit.
delete from aca_acl;
delete from aca_audit;
delete from aca_group;
delete from aca_user;
delete from aca_user_group;