SAP Job failed with error
search cancel

SAP Job failed with error

book

Article ID: 8936

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

The SAP job failed with error like below;

Thread.CybRMIExternalPluginBaseManager.processWob[:543] - java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [/<Agent_Installdir>/libsapjcorfc.so: libstdc++.so.5: cannot open shared object file: No such file or directory]. java.library.path [/<Agent_Installdir>/jre/lib/amd64/server:/<Agent_Installdir>/jre/lib/amd64::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]

Environment

CA Workload Automation Agent for SAP 11.3.xUnix/Linux Environment

Cause

The error indicates that wrong architecture of the library file 'libstdc++.so.5' is missing in the environment. The 64-bit version of the library file is required.

Resolution

For Red Hat Enterprise Linux 5 systems, you must install libstdc++.so.5 before installing CA WA Agent for SAP.