The R3_IMPORT_CALENDAR function is failing: Automation Engine connection error
search cancel

The R3_IMPORT_CALENDAR function is failing: Automation Engine connection error

book

Article ID: 250639

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

With AWA v21.0.3, the R3_IMPORT_CALENDAR is failing with the error message below.

 

2022-09-20 11:29:33 - U02000005 Job 'JOBS.R3.CALE.BTA' with RunID '152104832' is to be started.
2022-09-20 11:29:33 - U02004018 The job was successfully interpreted.
2022-09-20 11:29:33 R3_IMPORT_CALENDAR CALENDAR_ID=AU,FOLDER=/JOBS.P34/CALENDAR,UC4_CALE=CALE.AU_BASE,UC4_KEYWORD=WORKINGDAYS,YEAR_FROM=2022,YEAR_TO=2040
2022-09-20 11:29:33 - U02004205 Automation Engine connection error
2022-09-20 11:29:33 - U02004025 Job-script execution was aborted.




Environment

Release : 21.0.3

Component : AUTOMATION ENGINE, SAP Agent

Cause

The JCP certificate is not imported in the cacerts file of the Java used by the SAP agent.

Resolution

The workaround is to import the certificate used by the SAP agent into the cacerts file of the Java used by the SAP agent. The command below can be used.

keytool -importcert  -file C:\Automic\AutomationEngine\cert\certifcate.crt  -alias <Alias used in the keystore>  -keystore "C:\Program Files\Java\jdk1.8.0_301\jre\lib\security\cacerts"

 

Then, please stop and restart  SAP Agent.

 

Permanent Solution: The issue has been fixed in SAP Agent v21.0.4 HF1 or v21.0.5.