What are the necessary privileges to Run a Scheduled BF?

  • KM02256080
  • 22-Apr-2016
  • 22-Apr-2016

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

Why a Power User can not run scheduled BF?

Error

Question : What are the necessary privileges to Run a Scheduled BF?

An user member of a group of the following privileges is not able to run scheduled BFs:

image text

2016-04-19 04:50:00,401        : ERROR        : quartzScheduler_Worker-6        : org.quartz.core.JobRunShell        : Job ENV2_D2F.p1_Scheduled_BF_10 threw an unhandled Exception:

java.lang.NullPointerException: Cannot invoke method getUsername() on null object

at com.hp.ilm.db.webconsole.services.EnvironmentService.checkEnvironmentAuthorization(EnvironmentService.groovy:81)

at com.hp.ilm.db.webconsole.services.CommandExecutionService.checkPermissions(CommandExecutionService.groovy:125)

at com.hp.ilm.db.webconsole.services.CommandExecutionService.launchBusinessFlow(CommandExecutionService.groovy:146)

at com.hp.ilm.db.webconsole.scheduler.job.BusinessFlowJob$_execute_closure1.doCall(BusinessFlowJob.groovy:51)

at com.hp.ilm.db.webconsole.scheduler.job.BusinessFlowJob.withSession(BusinessFlowJob.groovy:78)

at com.hp.ilm.db.webconsole.scheduler.job.BusinessFlowJob.execute(BusinessFlowJob.groovy:31)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

2016-04-19 04:50:00,402        : ERROR        : quartzScheduler_Worker-6        : org.quartz.core.ErrorLogger        : Job (ENV2_D2F.p1_Scheduled_BF_10 threw an exception.

org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException: Cannot invoke method getUsername() on null object]

Cause

Schedule jobs are sensitives for SDM, so they require a user with Authenticated Administrator privilege.

Fix

Scheduled jobs are sensitives for SDM, so they require a user with the minimum privileges:
Minimal privileges
 
Add missing provileges from the below list and retry.