Changing the System User property from Data Manager may cause jobs that create data to stop working.(i.e. crawl job, create aggregates)
If the user changes the System User from Data Manager Configuration->Security, they may see the following errors when crawling or creating aggregates.
Error received fusing REST API to create an aggregate:
2018-11-14 13:55:27,813 ERROR (ajp-nio-8009-exec-9)[com.erdas.apollo.dmbl.service.rest.controllers.AggregateController] The user name or password is incorrect. com.erdas.apollo.exception.ApolloException: The user name or password is incorrect. at com.erdas.apollo.dmbl.service.rest.controllers.AggregateController.interpretException(AggregateController.java:114) at com.erdas.apollo.dmbl.service.rest.controllers.AggregateController.createFolderJob(AggregateController.java:102) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
Error received initiating a crawl job from Data Manager:
2018-11-14 13:58:52,986 ERROR (quartzSchedulerFactory_Worker-1)[com.lggi.esp.common.security.SecurityUtil] Login for principal user admin failed. javax.security.auth.login.LoginException: The user name or password is incorrect. at waffle.jaas.WindowsLoginModule.login(WindowsLoginModule.java:147) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.security.auth.login.LoginContext.invoke(Unknown Source) at javax.security.auth.login.LoginContext.access$000(Unknown Source) at javax.security.auth.login.LoginContext$4.run(Unknown Source) at javax.security.auth.login.LoginContext$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(Unknown Source) at javax.security.auth.login.LoginContext.login(Unknown Source) at com.lggi.esp.common.security.SecurityUtil.login(SecurityUtil.java:191) at com.erdas.apollo.dmbl.crawling.CrawlerServiceImpl.crawl(CrawlerServiceImpl.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.erdas.apollo.dmbl.scheduling.job.ApolloServiceRunnerJob.doExecute(ApolloServiceRunnerJob.java:541) at com.erdas.apollo.dmbl.scheduling.job.ApolloServiceRunnerJob.execute(ApolloServiceRunnerJob.java:166) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 2018-11-14 13:58:52,986 ERROR (quartzSchedulerFactory_Worker-1)[com.lggi.esp.common.security.SecurityUtil] javax.security.auth.login.LoginException: The user name or password is incorrect. com.erdas.apollo.exception.ApolloException: javax.security.auth.login.LoginException: The user name or password is incorrect. at com.lggi.esp.common.security.SecurityUtil.login(SecurityUtil.java:197) at com.erdas.apollo.dmbl.crawling.CrawlerServiceImpl.crawl(CrawlerServiceImpl.java:55)
If using Data Manager version prior to Apollo 2018 Update 2(DM 16.05.0000.00099), the System User name property in the Configuration->Security->System User property can be updated. Starting with Apollo 2018 Update 2, the System User field in Data Manager has been changed to be read-only. See the following screen copy, and notice the lock icon.
The Configuration Wizard is the recommended method of updating the Apollo System User and Password.
Also configuration wizard is the recommened method of updatting tomcat and multiple IIS application pools (e.g., ERDAS APOLLO Essentials, ApolloCatalogWMSAppPool, ApolloCatalogWMSPublicAppPool, FgdbServiceAppPool, apollo-portalAppPool, DecodingServiceAppPool...) impersonation user accounts. Instead of updating indivudal user account one by one, use Apollo configuration wizard to update all impersonation accounts at once.