CA WA SAP Plugin instantiation failed

book

Article ID: 5692

calendar_today

Updated On:

Products

CA Workload Automation Agents CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation DE - Business Agents (dSeries)

Issue/Introduction

The CA WA System agent with the SAP plugin fails to start with the following messages:

02/07/2017 13:31:34.955 EST-0500 5 main.MainThread.CybObjmonPluginDriver.runApplication[:101] - Plugin started
.......
02/07/2017 13:31:34.970 EST-0500 5 main.MainThread.CybSapPluginDriver.runApplication[:85] - CybSapPluginDriver Build 16, Service Pack 4, Maintenance Level 0 starting
02/07/2017 13:31:34.976 EST-0500 1 main.MainThread.CybAgentDriver.runApplication[:389] - cybermation.library.plugins.CybPluginException: Plugin instantiation failed
at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:359)
at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:517)
at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:319)
at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:454)
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
........
at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:454)
Caused by: java.lang.NoClassDefFoundError: com/sap/conn/jco/ext/SessionReferenceProvider
at cybermation.plugins.sap.CybSapPluginDriver.runApplication(CybSapPluginDriver.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
........
 

 

Cause

The SAP plugin cannot find the SAP Java Connector (SAP JCo) on the System Agent.

Here is the link to the SAP installation documentation that lists system requirements
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-agent-for-sap/11-3/installing.html

Environment

Release: WKLASE99000-11.3-Workload Automation-Agent SE
Component:

Resolution

The SAP plugin cannot find the SAP Java Connector (SAP JCo) on the System Agent.

On Linux, the SAP JCo files are sapjco3.jar and libsapjco3.so
- Copy the sapjco3.jar to the system agents jars/ext sub-directory
- Extract the libsapjco3.so to the agent installation directory (or libsapjco3.sl depending on the UNIX platform)

Please confirm the SAP JCo files sapjco3.jar is in <system_agent_directory>/jars/ext sub-directory and libsapjco3.so is in agent installation directory.

On Windows, the SAP JCo files are sapjco3.jar and sapjco3.dll
- Copy the sapjco3.jar to the system agents jars/ext sub-directory
- Extract the sapjco3.dll to the agent installation directory

Please confirm the SAP JCo files sapjco3.jar is in <system_agent_directory>\jars\ext sub-directory and sapjco3.dll is in agent installation directory.

NOTES:
The required minimum version is SAP JCo 3.0.x

Whether you use the 32-bit or 64-bit JCo version depends on the JVM provided with the agent.

For Windows systems, you require the msvcr71.dll and msvcp71.dll files. You must add these files to the agent installation directory.

Additional Information

We document by agent version what SAP JCO versions are supported and if any fixes are required.  See this links

Agent for SAP 11.3:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-agent-for-sap/11-3/reference/ca-wa-agent-for-sap-support-information.html

Agent for SAP 11.4:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-agent-for-sap/11-4/release-notes/ca-wa-agent-for-sap-platform-support-matrix.html

Agent for SAP 11.5:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-agent-for-sap/11-5/release-notes/ca-wa-agent-for-sap-platform-support-matrix.html

You can identify the CA Workload Automation Agent version by running these commands:
cybagent -v
cybagent -vv