sendevent denied error after upgrade to 11.3.6 SP7

Document ID : KB000100867
Last Modified Date : 26/06/2018
Show Technical Document Details
Issue:

We receive the following error when we try to force start a job via sendevent commandline.
 
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

 
Environment:

CA Workload Automation AE (WAAE) 11.3.6 SP7
CA Embedded Entitlements Manager (EEM) 12.6
 
Cause:

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:

https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/release-notes/ae-release-notes/ae-release-11-3-6-sp7/changes-to-existing-features-11-3-6-sp7

-------------------------------------------------------
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.
-------------------------------------------------------
Resolution:

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

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

Windows:
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: