CA WA SAP Plugin instantiation failed

Document ID : KB000005692
Last Modified Date : 25/07/2018
Show Technical Document Details
Issue:

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://docops.ca.com/ca-workload-automation-agent-for-sap/11-3/en/installing

Resolution:

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

On Linux, the JCo files are sapjco3.jar and libsapjco3.so.  These files need to be placed in the system agents jars/ext directory

Please confirm the SAP JCo files sapjco3.jar and libsapjco3.so are in the <system_agent_directory>/jars/ext subdirectory.

 

On Windows, the JCo files are sapjco3.jar and sapjco3.dll.  These files need to be placed in the system agents jars\ext directory

Please confirm the SAP JCo files sapjco3.jar and sapjco3.dll are in the <system_agent_directory>\jars\ext subdirectory.

 

Additional Information:

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

https://docops.ca.com/ca-workload-automation-agent-for-sap/11-3/en/reference/ca-wa-agent-for-sap-support-information
 

You can identify the CA Workload Automation Agent version by running the command
cybagent -v