Failed to Authenticate just after restarting CA Embedded Entitlements Manager.

Document ID : KB000035724
Last Modified Date : 14/02/2018
Show Technical Document Details

 Symptoms:

-Receiving below error when trying to authenticate just after restarting CA Embedded Entitlements Manager.

 
    WARN] [btpool0-0] [Manager] Authentication failed for user wyllyanr: Error authenticating user wyllyanr in realm EEM: com.wily.introscope.spec.server.beans.usermgmt.UserMgmtException: EEM failed to authenticate user "wyllyanr"


INFO  [m_pollthread] ERROR com.ca.eiam.SafeCache  - ThreadLoop.refreshSession - exception occurred while refreshing credentials
INFO  [exportSession: unexportable session.]
INFO   com.ca.eiam.SafeException: EE_EXCEPTION Exception
INFO   at com.ca.eiam.SafeSession.exportSession(SafeSession.java:388)
INFO   at com.ca.eiam.SafeContext.refreshSession(SafeContext.java:3271)
INFO   at com.ca.eiam.SafeCache$ThreadLoop.refreshSession(SafeCache.java:2818)
INFO   at com.ca.eiam.SafeCache$ThreadLoop.run(SafeCache.java:3142)

 

Environment: 

- CA Embedded Entitlements Manager 12.0

- Instrocope 9.7.0

- CA Espectrum

- CA VAIM

 

Cause:

 

-The technical reason this has worked before is because our EEM SDK is responsible for maintaining a connection cache of sessions from users that have previously logged into APM. This cache is refreshed at the discretion of the embedding product team (APM). IF this cache is deemed admissible, the EEM server is not contacted. However in some cases the embedding product (APM) has decided to switch to a different EEM server in the cluster and this causes a cache mix-up. Restarting the EM should refresh the cache. 
 

 Workaround:

 

-Restart every process integrated with EEM to clean the cache.
    EG: Restart CA Introscope (MOM)
           Restart CA Spectrum