Question

2
Replies
64
Views
Close popover
Yogesh Wankhede (YogeshW4666)
SmartRules B.V.
Senior Consultant
SmartRules B.V.
NL
YogeshW4666 Member since 2018 4 posts
SmartRules B.V.
Posted: February 8, 2021
Last activity: February 9, 2021
Solved

Bix extract rule is not running on Background/bix node,only runs in webusernode. I am running extract rule using Jobscheduler.

I am trying to run Bix extract rule on schedule. To achieve that I am trying to run job scheduler on a specific node i.e. Background node or BIX. My Job scheduler is running fine on Webusernode. 

I have added application in System Runtime Context as well. But when I am running it on Backgroundnode/Bix node I am getting below exception.

version we are using: Pega 8.4.2 

Pega Bix:-08.04

com.pega.platform.executor.jobscheduler.scheduler.JobExecutionException: Activity execution failed with [PRRuntimeException]

at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:59)

at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeImpl.execute(JobRunTimeImpl.java:67)

at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeDecorator.execute(JobRunTimeDecorator.java:57)

at com.pega.platform.executor.jobscheduler.scheduler.internal.JobRunTimeDecorator.execute(JobRunTimeDecorator.java:57)

at com.pega.platform.executor.jobscheduler.scheduler.internal.JobExecutionTemplate.executeJob(JobExecutionTemplate.java:45)

at com.pega.platform.executor.jobscheduler.scheduler.internal.JobExecutionTemplate.run(JobExecutionTemplate.java:35)

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:748)

Caused by: com.pega.pegarules.pub.PRRuntimeException: PRRuntimeException

at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:115)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1397)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1140)

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1021)

at com.pega.pegarules.session.internal.PRSessionProviderImplForModules.doWithRequestorLocked(PRSessionProviderImplForModules.java:71)

at com.pega.platform.executor.jobscheduler.internal.JobSchedulerProcessor.execute(JobSchedulerProcessor.java:53)

... 12 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:75)

at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.run(ActivityProcessor.java:113)

... 17 more

Caused by: com.pega.pegarules.pub.PRRuntimeException: Unable to process "Class of Extract rule mentioned here ABC-Work-XYZ"

at com.pega.pegarules.data.internal.access.ExtractImpl.parseAndRunExtractCommand(ExtractImpl.java:948)

at com.pega.pegarules.data.internal.access.ExtractImpl.executeCommandLineExtract(ExtractImpl.java:854)

at com.pega.pegarules.data.internal.PRDataProviderImpl.executeCommandLineExtract(PRDataProviderImpl.java:1698)

at com.pega.pegarules.session.internal.mgmt.Executable.executeCommandLineExtract(Executable.java:8789)

at com.pegarules.generated.activity.ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.step2_circum0(ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.java:316)

at com.pegarules.generated.activity.ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.perform(ra_action_pxextractdatawithargs_b390b959167377f95f63ce79c39386b3.java:93)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2814)

at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.runActivity(ActivityExecutor.java:47)

at com.pega.platform.executor.jobscheduler.internal.ActivityExecutor.executeActivity(ActivityExecutor.java:38)

at com.pega.platform.executor.jobscheduler.internal.ActivityProcessor.execute(ActivityProcessor.java:60)

 

I have passed required parameters as well to pxExtractDataWithArgs activity as well.

The things I already tried.

  1. selected all the possible combinations of Associated with node types and Runs on drop down from the job scheduler rule. It only works when i select webuser node. But we need it should run on Background node.
  2. Added the option of "include in the background processing" check box in application definition under advance tab.
  3. Restarted the background nodes yesterday.
  4. Tried to change the application names in SRC
  5. unfortunately, unable to get the exact error as the logs are getting logged on another node. but able to capture errors from admin studio. which are pasted above in the email.
  6. Able to see same SRC on admin studio which has my application listed in SRC.
  7. Added required access role as well for the particular class in the Access group to make sure its not a access issue.
***Edited by Moderator: Pooja Gadige to add platform capability tags***
Pega Business Intelligence Exchange 8.4 Pega Platform 8.4.2 Cloud Services Pega Cloud System Administration Data Integration Government Lead System Architect