Question
Cognizant Technology Solutions
IN
Last activity: 7 Oct 2022 4:56 EDT
Job Scheduler pyManageIncrementalIndexer is not running due to lack of privilege
Hello Team
Can you share your view on the below error ? Unable to figure out what privilege is missing
Hello Team
Can you share your view on the below error ? Unable to figure out what privilege is missing
com.pega.platform.executor.jobscheduler.scheduler.JobExecutionException: Job[pyManageIncrementalIndexer] Activity execution failed with [PRRuntimeException] at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:117) at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.lambda$execute$0(JobSchedulerProcessor.java:92) at com.pega.platform.executor.internal.LogContextDecorator.runInDecoratedScope(LogContextDecorator.java:38) at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:90) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeImpl.execute(JobRunTimeImpl.java:104) at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeDecorator.execute(JobRunTimeDecorator.java:57) at com.pega.platform.executor.jobscheduler.scheduler.internal.persistence.PersistentEligibleJobExecution.execute(PersistentEligibleJobExecution.java:51) at com.pega.platform.executor.jobscheduler.scheduler.internal.ClusterJobDecorator.run(ClusterJobDecorator.java:68) 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:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: com.pega.pegarules.pub.PRRuntimeException: PRRuntimeException at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:112) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1380) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1123) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1004) at com.pega.pegarules.session.internal.PRSessionProviderImplForModules.doWithRequestorLocked(PRSessionProviderImplForModules.java:83) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:101) at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:110) ... 14 more Caused by: com.pega.platform.executor.jobscheduler.scheduler.JobExecutionException: Unable to execute the Activity at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.execute(ActivityProcessor.java:65) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:110) ... 20 more Caused by: com.pega.pegarules.management.internal.system.operations.SystemOperationsException: Not enough privilege to execute at com.pega.pegarules.management.internal.system.operations.AbstractManagementAPI.checkSecurity(AbstractManagementAPI.java:233) at com.pega.pegarules.management.internal.system.operations.QueueProcessorManagementAPI.getQueueProcessorStatus(QueueProcessorManagementAPI.java:101) at com.pega.platform.pegasearch.indexer.internal.DistributedIndexerAgent.manageIncrementalIndexer(DistributedIndexerAgent.java:184) at com.pega.pegarules.session.internal.mgmt.Executable.manageIncrementalIndexer(Executable.java:12112) at com.pegarules.generated.activity.ra_action_pzmanageincrementalindexer_d9e9e83456741456f82b053b64afce4f.step1_circum0(ra_action_pzmanageincrementalindexer_d9e9e83456741456f82b053b64afce4f.java:167) at com.pegarules.generated.activity.ra_action_pzmanageincrementalindexer_d9e9e83456741456f82b053b64afce4f.perform(ra_action_pzmanageincrementalindexer_d9e9e83456741456f82b053b64afce4f.java:76) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2850) at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.runActivity(ActivityExecutor.java:59) at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.executeActivity(ActivityExecutor.java:51) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.executeActivity(ActivityProcessor.java:73) at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.execute(ActivityProcessor.java:59) ... 21 more
***Edited by Moderator Marije to add Capability tags***