sendevent denied error after upgrade
search cancel

sendevent denied error after upgrade


Article ID: 100867


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent


We receive the following error when we try to force start a job via sendevent command line.

CAUAJM_W_10758 Owner sendevent_jobexecute Access Denied!
CAUAJM_W_10439 No policies granting access to resource.
CAUAJM_W_10440 Class: as-owner Resource: autosys User: autosys Access: sendevent_jobexecute
CAUAJM_W_10442 Time: 1526407949 Delegator: None



CA Workload Automation AE (WAAE): ALL Supported VErsions
CA Embedded Entitlements Manager: (EEM) 12.6


Customer had installed WAAE 11.3.6 SP7 in NATIVE security mode initially and then activated EEM security, using autosys_secure utility, pointing to an existing EEM server which is currently being used for a WAAE 11.3.6 SP5 instance.

The SENDEVENT_JOBEXECUTE access mode was introduced in 11.3.6 SP7.

Excerpt from the Release notes:

Updated as-owner Resource Class

The as-owner resource class is updated to include the SENDEVENT_JOBEXECUTE access mode that controls whether you can execute the sendevent command.


Update the version of application instance "WorkloadAutomationAE" in the target CA EEM server to 11.3.6 SP7.

After sourcing the AutoSys environment profile (for example: /opt/CA/WorkloadAutomationAE/autouser.ACE/autosys.bash.$HOSTNAME), execute the following commands:
$ ASSAFETOOLPW=<EiamAdmin_Password>
$ as_safetool -b <EEM_hostname> -i $AUTOSERV

From the CA WAAE instance command prompt, execute the following commands:
set ASSAFETOOLPW=<EiamAdmin_Password>
as_safetool -b <EEM_hostname> -i %AUTOSERV%

Note: You cannot run the as_safetool command in batch mode unless the value of the ASSAFETOOLPW environmental variable and the value of the CA EEM administrator password matches.

Additional Information a New CA EEM Instance with CA Workload Automation AE Security Policies