search cancel

Refresh cache doesnt work afer upgrade of Advanced Authentication to 9.1.02 version

book

Article ID: 254247

calendar_today

Updated On:

Products

CA Risk Authentication CA Strong Authentication CA Advanced Authentication

Issue/Introduction

After upgrading A.A from 8.2 to 9.1 refresh cache stop working showing the message below:

Internal server error. Please contact your administrator.

In arcotadmin.log 

2022-11-04 18:10:42,704 BRT : [https-jsse-nio-9443-exec-2] : INFO  : framework.utils.TxIdGenerator : [N/A] : [N/A] : [N/A] : [Arcot Admin Console] : [Admin Console] : [N/A] : Transaction ID = 1093
2022-11-04 18:10:42,704 BRT : [https-jsse-nio-9443-exec-2] : INFO  : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [1093] : [Arcot Admin Console] : [AdminConsole] : [N/A] : Received request for integrate
d cache refresh...
2022-11-04 18:10:42,704 BRT : [https-jsse-nio-9443-exec-2] : INFO  : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [1093] : [Arcot Admin Console] : [AdminConsole] : [N/A] : Cache Refresh Event Details ::
 Global Cache Refresh [false], System Cache Refresh [false], Organization Cache Refresh [true], All Organizations [false]
2022-11-04 18:10:42,706 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : common.cache.CacheRefreshUtil :  No SYSTEM or SYSTEM_SCOPEALL or SYSTEM_SCOPE or SCOPE_ALL in progress events found. Checking for in progress SCOPE or S
ELECTED_SCOPE events..
2022-11-04 18:10:42,708 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : common.cache.CacheRefreshUtil : None of the above checks matched. Returning Allowed
2022-11-04 18:10:42,709 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [N/A] : [Arcot Admin Console] : [Admin Console] : [N/A] : Making refreshCache() callback
 to AdminConsole resourcepack.
2022-11-04 18:10:42,710 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [N/A] : [Arcot Admin Console] : [AdminConsole] : [N/A] : Server Instance details from re
sourcepack, (AdminConsole) : Instance Id :11Instance Name :Arcot Administration ConsoleServer Type :Arcot Administration ConsoleHost Name :brhlnxrskapl011Instance Version :9.1.02
2022-11-04 18:10:42,710 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [N/A] : [Arcot Admin Console] : [AdminConsole] : [N/A] : Server Instance details from re
sourcepack, (AdminConsole) : Instance Id :11Instance Name :User Data ServiceServer Type :User Data ServiceHost Name :brhlnxrskapl011Instance Version :9.1.02
2022-11-04 18:10:42,710 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [N/A] : [Arcot Admin Console] : [Admin Console] : [N/A] : Making refreshCache() callback
 to WebFort resourcepack.
2022-11-04 18:10:42,710 BRT : [https-jsse-nio-9443-exec-2] : ERROR : web.cache.CacheRefreshManager : [MASTERADMIN] : [MASTERADMIN] : [1093] : [Arcot Admin Console] : [Admin Console] : [N/A] : Failed to audit log, Reason f
ield is empty. Reason is a mandatory field to audit log unsuccessful operations.
2022-11-04 18:10:42,710 BRT : [https-jsse-nio-9443-exec-2] : ERROR : web.orgmgmt.OrganizationSearchController : [MASTERADMIN] : [MASTERADMIN] : [] : [Arcot Admin Console] : [Admin Console] : [N/A] : Internal Error
java.lang.NullPointerException: null
        at com.arcot.webfort.admin.managers.svrmgmt.SvrMgmtWrapper.getInstances(SvrMgmtWrapper.java:350) ~[webfort-admin-7.0.jar:8.2]
        at com.arcot.webfort.admin.WebFortResourcePack.getServerInstances(WebFortResourcePack.java:226) ~[webfort-admin-7.0.jar:8.2]
        at com.arcot.adminconsole.admin.web.cache.CacheRefreshManager.refreshCache(CacheRefreshManager.java:395) ~[admin-resourcepack-2.0.jar:?]
        at com.arcot.adminconsole.admin.web.orgmgmt.BaseOrganizationEditController.refreshOrganizationCache(BaseOrganizationEditController.java:1975) ~[admin-resourcepack-2.0.jar:?]
        at com.arcot.adminconsole.admin.web.orgmgmt.BaseOrganizationEditController.modifyStatus(BaseOrganizationEditController.java:1958) ~[admin-resourcepack-2.0.jar:?]
        at com.arcot.adminconsole.admin.web.orgmgmt.BaseOrganizationEditController.onSubmit(BaseOrganizationEditController.java:230) [admin-resourcepack-2.0.jar:?]
        at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at com.arcot.admin.framework.web.controller.AbstractCygnetController.processFormSubmission(AbstractCygnetController.java:230) [classes/:?]
        at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at com.arcot.adminconsole.admin.web.orgmgmt.OrganizationSearchController.handleRequestInternal(OrganizationSearchController.java:35) [admin-resourcepack-2.0.jar:?]
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at com.arcot.admin.framework.web.init.ArcotAdminInitServlet.doDispatch(ArcotAdminInitServlet.java:74) [classes/:?]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:853) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) [servlet-api.jar:?]
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827) [spring-webmvc-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [servlet-api.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:8.5.61]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.61]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.5.61]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.61]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.61]
        at com.arcot.admin.framework.web.utils.FrameworkSessionFilter.doFilter(FrameworkSessionFilter.java:87) [classes/:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.61]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.61]
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106) [spring-web-3.2.18.RELEASE.jar:3.2.18.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:8.5.61]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:8.5.61]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) [catalina.jar:8.5.61]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [catalina.jar:8.5.61]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544) [catalina.jar:8.5.61]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [catalina.jar:8.5.61]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [catalina.jar:8.5.61]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) [catalina.jar:8.5.61]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [catalina.jar:8.5.61]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:8.5.61]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616) [tomcat-coyote.jar:8.5.61]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:8.5.61]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831) [tomcat-coyote.jar:8.5.61]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1634) [tomcat-coyote.jar:8.5.61]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:8.5.61]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_352]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_352]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.5.61]
        at java.lang.Thread.run(Thread.java:750) [?:1.8.0_352]
2022-11-04 18:14:05,971 BRT : [ContainerBackgroundProcessor[StandardEngine[Catalina]]] : INFO  : web.utils.FrameworkSessionListener : [N/A] : [N/A] : [N/A] : [Arcot Admin Console] : [Admin Console] : [N/A] : Cleaning up the transient tables bound to this session......

 

Oracle 19c

SQL> select * from ARPFCMNINSTANCE;

INSTANCEID SERVERTYPE                     HOSTNAME             INSTANCEVE LASTSTARTTIME       LASTSTOPTIME        LASTREFRESHTIME     STATUS DATECREATED         DATEMODIFIED        INFOLIST
---------- ------------------------------ -------------------- ---------- ------------------- ------------------- ------------------- ------ ------------------- ------------------- ----------
        11 Arcot Administration Console   host1      9.1.02     2022-11-04 20:46:51 2022-11-04 21:38:22                          0 2022-11-04 19:48:49 2022-11-04 21:38:22
        11 User Data Service              host1           9.1.02     2022-11-04 20:46:57 2022-11-04 21:38:22                          0 2022-11-04 19:48:55 2022-11-04 21:38:22

SQL> SELECT SERVERNAME, VERSION FROM ARRFSERVERS;

SERVERNAME                                                       VERSION
---------------------------------------------------------------- --------------------------------
RiskFort                                                         9.1.02
RiskFortCaseManagement                                           9.1.02

Environment

Release : 9.1

Cause

DB Upgrade is not successful.

Resolution

 There are plenty of error messages related to DB and the error you see is normally we see when DB upgrade had issues, did you observe any error messages when you run the DB upgrade scripts.

2022-11-08 20:11:12,755 BRT : [https-jsse-nio-9443-exec-2] : ERROR : admin.configuration.ConfigList : Exception while fetching the configuration for the key ARWF_SERVERMANAGEMENT_CONFIGS
2022-11-08 20:11:12,755 BRT : [https-jsse-nio-9443-exec-2] : ERROR : admin.configuration.ConfigList : java.lang.NullPointerException
2022-11-08 20:11:12,755 BRT : [https-jsse-nio-9443-exec-2] : WARN  : pool.config.HttpConnectionPoolConfigParser : No configuration is found to load
2022-11-08 20:11:12,755 BRT : [https-jsse-nio-9443-exec-2] : ERROR : managers.svrmgmt.SvrMgmtWrapper : No configuration is found to load
2022-11-08 20:11:12,755 BRT : [https-jsse-nio-9443-exec-2] : ERROR : managers.svrmgmt.SvrMgmtWrapper : ErrCode:7::Message:No configuration is found to load
2022-11-08 20:11:12,756 BRT : [https-jsse-nio-9443-exec-2] : INFO  : admin.managers.WebFortResourcePackTxnLogger : Txn-Begin : Operation=getInstances | ClientTxnId=[_0]
2022-11-08 20:11:12,758 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Request received to get Organization 'DEFAULTORG'
2022-11-08 20:11:12,758 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : framework.orgmgmt.EudsOrganizationManagerImpl : [NEXTADMIN] : [DEFAULTORG] : [] : [Arcot Admin Console] : [Admin Console] : [N/A] : Organization Search: No criteria set.
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Request received to get contact types for organization - MAGIC
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Contact types fetched successfully
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Request received to get contact types for organization - DEFAULTORG
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Contact types fetched successfully
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : DEBUG : orgmgmt.impl.OrganizationManagerImpl : [null] : [null] : Request received to get Organization 'DEFAULTORG'
2022-11-08 20:11:12,759 BRT : [https-jsse-nio-9443-exec-2] : ERROR : web.cache.CacheRefreshManager : [NEXTADMIN] : [DEFAULTORG] : [3009] : [Arcot Admin Console] : [Admin Console] : [N/A] : Failed to audit log, Reason field is empty. Reason is a mandatory field to audit log unsuccessful operations.
2022-11-08 20:11:12,775 BRT : [https-jsse-nio-9443-exec-2] : ERROR : web.controller.ErrorsController : [N/A] : [N/A] : [N/A] : [Arcot Admin Console] : [Admin Console] : [N/A] : javax.servlet.error.status_code::500

The above error indicates that the issue is with the DB upgrade so the DB upgrade has to be performed again. Follow the DB upgrade steps again on the base version DB ( 8.2 version in this case) to 9.1.02 DB schema.