SAP Agent failing to start on Windows | Can't find dependent libraries.
search cancel

SAP Agent failing to start on Windows | Can't find dependent libraries.

book

Article ID: 232424

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine Automic SaaS

Issue/Introduction

The SAP agent does not start on Windows. The following exception is shown:

U02000107 Connection object 'CONN.SAP' with time stamp '1764160506000' was successfully transferred to the Agent.
U00045014 Exception 'java.lang.ExceptionInInitializerError: "JCo initialization failed with java.lang.UnsatisfiedLinkError: C:\Automic\Automation.Platform\Agents\sap\bin\sapjco3.dll: Can't find dependent libraries"' at 'com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>():165'.
U00003620 Routine 'com.uc4.ex.ThreadPool$RunnableDecorator' forces trace because of error.
U00003450 The TRACE file was opened with the switches '0000000000000000'.
U00003449 Output to the TRACE file is finished.
U02000041 Shutdown Agent 'SAP_01'.

 

Environment

Release : 24.4.x

Component : Automic Workload Automation

Sub Component : SAP Agent

OS: Windows Server 2022

Cause

The Microsoft Visual C++ 2103 Redistributable (x64) libraries are missing.

Resolution

Install Microsoft Visual C++ 2103 Redistributable (x64) libraries.

 

 

Additional Information

Here is the official Cause from SAP (SAP Knowledge Base Article 3315614.

The cause of the error may be the following.

  • sapjco3.dll and sapjco3.jar are not under the same path.
  • JVM version is not supported.
  • The JCO3.1 bit version does not match the JVM bit version.
  • Visual Studio C++ 2013 Redistributable is not installed.
  • Visual Studio C++ 2013 version is not the JVM version(32 bit or 64 bit).