search cancel

When submitting the Resource Adapter job we get an NJS-0001 error. Why?

book

Article ID: 190091

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

We are trying to run the job "GD Resource Adaptor V1.0".
When we click on the submit button we are getting error below:

"NJS-0001: Unable to process request due to server configuration or other technical problems. Contact your site administrator."

Environment

Any Clarity PPM release

Cause

Clarity PPM believes there is another instance of the job/ back-end process running and only one instance can run simultaneously.

Resolution

1. Cancel and Delete any process instance of the Resource Adapter as only a single instance can run.
    By looking to the log files you can find the process instance is looking at: (Look at log files on the Additional Information section - Process Instance Id: 5760022)
2. The above process ID should be deleted as it is the one Clarity believes is running.
3. If the process has been deleted or is not present and the issue still persists, restart the app and bg services

Additional Information

bg-ca.log file shows the following error:
ERROR 2020-05-04 03:18:20,602 [Action Execution Pipeline 0 (tenant=clarity)] bpm.engine (clarity:process_admin:20291038__7C11ADD8-BD3F-4FA5-949C-C52B26106D46:none) Error (will retry) caused by Step Instance: [email protected] [Id: 6999134 Process Instance Id: 5760022 Step Id: 5035025 State: BPM_SIS_READY_TO_EXEC_ACTION Step Name: null Start Date: 2020-05-04 01:16:02.0 Expected End Date: null Percent Complete: 0.5 Warned: false Retry Count: 25 No of Pre Conditions: 1 No of Post Conditions: -1 Last Condition Eval Time: 1588580162864 Pre Condition Wait Events: null Post Condition Wait Events: null Pass Conditions: null Error Id: -1
 Process Thread: [email protected] [Id: 5760022 Parent Step Instance Id: -1 Join Step Instance Id: -1]
 Split Threads: null
 Join Threads:null]
com.niku.bpm.BpmException: com.niku.bpm.BpmException: com.niku.union.exceptions.SchedulerException: Job's listener is invalid
 at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:107)
 at com.niku.bpm.engine.rules.Pipeline.run(Pipeline.java:280)
Caused by: com.niku.bpm.BpmException: com.niku.union.exceptions.SchedulerException: Job's listener is invalid
 at com.niku.bpm.services.ExecuteJobAction.execute(ExecuteJobAction.java:201)
 at com.niku.bpm.services.ProcessEngine.executeStepAction(ProcessEngine.java:150)
 at com.niku.bpm.engine.rules.ActionExecutionPipeline.processActions(ActionExecutionPipeline.java:141)
 at com.niku.bpm.engine.rules.ActionExecutionPipeline.execute(ActionExecutionPipeline.java:71)
 ... 1 more
Caused by: com.niku.union.exceptions.SchedulerException: Job's listener is invalid
 at com.niku.njs.SchedulerImpl.validate(SchedulerImpl.java:1489)
 at com.niku.njs.SchedulerImpl.schedule(SchedulerImpl.java:200)
 at com.niku.njs.SchedulerImpl.schedule(SchedulerImpl.java:167)
 at com.niku.bpm.services.ExecuteJobAction.execute(ExecuteJobAction.java:193)
 ... 4 more
Caused by: java.lang.ClassNotFoundException: com.ca.gd.adaptor.resource.trigger.GDResourceAdaptorTrigger
 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
 at java.base/java.lang.Class.forName0(Native Method)
 at java.base/java.lang.Class.forName(Class.java:315)
 at com.niku.njs.SchedulerImpl.validate(SchedulerImpl.java:1476)