Issue:
The customer getting an unauthorized error when trying to run a Web Services job to the Autosys Web Server. The event log will look like the following:
Job Name Last Start Last End ST Run/Ntry Pri/Xit
_________________________ ____________________ ____________________ __ ________ ______
HTTPS 05/16/2016 21:40:37 05/16/2016 21:40:41 FA 1436/1 401
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
STARTING 05/16/2016 21:40:37 1 PD 05/16/2016 21:40:37 ae-demo-ae.ca.com
RUNNING 05/16/2016 21:40:37 1 PD 05/16/2016 21:40:38 ae-demo-ae.ca.com
<Request is executing>
FAILURE 05/16/2016 21:40:41 1 PD 05/16/2016 21:40:41
<Unauthorized>
[*** ALARM ***]
JOBFAILURE 05/16/2016 21:40:41 1 PD 05/16/2016 21:40:42 ae-demo-ae.ca.com
Environment:
Autosys 11.3+
Cause:
1. The user is not specified in autosys_secure
2. The job definition is not correct
3. The authentication order is not set to BASIC
Resolution:
1. Add the user that is in EEM as a WorkloadAutomationAEWebService user to autosys_secure as a user@host entry. Using user@web_server_host or user@domain if AD is integrated. Keeping in mind that user@domain is considered differently from [email protected]
2. Add the following two parameters to your job description with the appropriate information:
j2ee_conn_user: user that you added to autosys_secure
j2ee_authentication_order: BASIC,DIGEST,NTLM