WA Agent with SAP Plugin failed to start with "Exception in thread "Thread-10" java.lang.NoClassDefFoundError: cybermation/library/security/CybCipherHelper"
search cancel

WA Agent with SAP Plugin failed to start with "Exception in thread "Thread-10" java.lang.NoClassDefFoundError: cybermation/library/security/CybCipherHelper"

book

Article ID: 373194

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

WA Agent with SAP failed to start with the following in nohup.stderr:

Exception in thread "Thread-10" java.lang.NoClassDefFoundError: cybermation/library/security/CybCipherHelper

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.loadProperties(Unknown Source)

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.getPropertiesFromMap(Unknown Source)

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.getProperties(Unknown Source)

        at cybermation.plugins.sap.utility.CybSAPConfigAnalyzer.loadDestinationProperties(Unknown Source)

        at cybermation.plugins.sap.utility.CybSAPConfigAnalyzer.validateSapConfig(Unknown Source)

        at cybermation.plugins.sap.utility.CybSAPConfigAnalyzer.validate(Unknown Source)

        at cybermation.plugins.sap.CybSapPlugin$CybConfigAnalyzerProcessor.run(Unknown Source)

Exception in thread "MainThread" cybermation.agent.CybAgentDriver$CybAgentInstantiationError: Plugin instantiation failed

        at cybermation.agent.CybAgentDriver.runApplication(Unknown Source)

        at cybermation.agent.CybAgentDriver.main(Unknown Source)

Caused by: cybermation.library.plugins.CybPluginException: Plugin instantiation failed

        at cybermation.agent.plugins.manager.CybPluginManager.a(Unknown Source)

        at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(Unknown Source)

        at cybermation.agent.CybAgentDriver.runApplication(Unknown Source)

        ... 1 more

Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        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.plugins.manager.CybPluginManager.a(Unknown Source)

        ... 3 more

Caused by: java.lang.NoClassDefFoundError: cybermation.library.security.CybCipherHelper

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.loadProperties(Unknown Source)

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.getPropertiesFromMap(Unknown Source)

        at cybermation.plugins.sap.communicator.CybSAPPropertiesManager.getProperties(Unknown Source)

        at cybermation.plugins.sap.CybSapPlugin.getProperties(Unknown Source)

        at cybermation.plugins.sap.CybSapPlugin.initializePlugin(Unknown Source)

        at cybermation.plugins.sap.CybSapPlugin.<init>(Unknown Source)

        at cybermation.plugins.sap.CybSapPluginDriver.runApplication(Unknown Source)

        ... 8 more

Caused by: java.lang.ClassNotFoundException: cybermation.library.security.CybCipherHelper

        at java.net.URLClassLoader.findClass(URLClassLoader.java:591)

        at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:953)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:898)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:881)

        ... 15 more

Environment

WA Agent 12.0

Cause

WA System Agent and SAP Plugin are at different version levels.

In defaultlog_agent.log, noticed the following:

07/23/2024 14:36:41.747-0400 2 main.MainThread.CybAgentDriver.runApplication[:216] - Workload Automation Agent 12.0, Build 6181, Service Pack 00, Maintenance Level 00 starting

07/23/2024 14:36:42.521-0400 1 main.MainThread.CybPluginManager.a[:403] - CA WA Agent for SAP R11.3.4, Build 56 starting

Resolution

Make sure that the WA System Agent and SAP Plugin are at the same version level.

Backup agent, and re-install the agent.  Apply SAP plugin and copy the properties file back.