search cancel

Workload Automation Agent fails to start

book

Article ID: 213653

calendar_today

Updated On:

Products

CA Workload Automation AE CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

AutoSys agent 11.3 SP 4 installed on  Windows Server 2012 fails to start with an exception in the file <Agent_Install_Dir>/nohup.stderr -

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.invokePluginMethod(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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(Unknown Source)
... 3 more
Caused by: cybermation.library.plugins.CybPluginInitializationException: CybRunnerPluginDriver terminated
at cybermation.plugins.runner.CybRunnerPluginDriver.runApplication(Unknown Source)
... 8 more
Caused by: cybermation.library.plugins.CybPluginException: OS Component failed to initialize
at cybermation.plugins.runner.communication.transmitter.CybOSComponentTransmitterJNI.initialize(Unknown Source)
at cybermation.plugins.runner.communication.transmitter.CybOSComponentTransmitter.initialize(Unknown Source)
at cybermation.plugins.runner.CybRunnerPluginDriver.runApplication(Unknown Source)
... 8 more
Exception in thread "MainThread" 

Cause

The log file "defaultlog_agent.log" reveals that the agent runner plugging driver component terminated with an exception.  

03/26/2021 15:13:09.467 ICT+0700 5 main.MainThread.CybFilemonPluginDriver.<clinit>[:207] - filefilter native library successfully loaded
03/26/2021 15:13:09.481 ICT+0700 5 main.MainThread.CybRunnerPluginDriver.runApplication[:73] - CybRunnerPluginDriver Build 717, Service Pack 4, Maintenance Level 0 starting
03/26/2021 15:14:09.491 ICT+0700 1 main.MainThread.CybRunnerPluginDriver.runApplication[:119] - CybRunnerPluginDriver terminated:
                                                                                                cybermation.library.plugins.CybPluginException: OS Component failed to initialize
                                                                                                at cybermation.plugins.runner.communication.transmitter.CybOSComponentTransmitterJNI.initialize(CybOSComponentTransmitterJNI.java:98)
                                                                                                at cybermation.plugins.runner.communication.transmitter.CybOSComponentTransmitter.initialize(CybOSComponentTransmitter.java:85)
                                                                                                at cybermation.plugins.runner.CybRunnerPluginDriver.runApplication(CybRunnerPluginDriver.java:87)
                                                                                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
                                                                                                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                                                                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                                                                                at java.lang.reflect.Method.invoke(Unknown Source)
                                                                                                at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:312)
                                                                                                at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
                                                                                                at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
                                                                                                at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)
03/26/2021 15:14:09.495 ICT+0700 1 main.MainThread.CybAgentDriver.runApplication[:373] - cybermation.library.plugins.CybPluginException: Plugin instantiation failed
                                                                                          at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:323)
                                                                                          at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
                                                                                          at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
                                                                                          at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)
                                                                                         Caused by: java.lang.reflect.InvocationTargetException: null
                                                                                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
                                                                                          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

Environment

Release: 11.3 and higher

Component: CA Workload Automation Agents

Resolution

The exception is due to the Antivirus (McAfee/Kaspersky Endpoint..etc.,) interfering with the Agent's default runner plugin.

Disable the Antivirus on the machine where the system agent is installed. If that is not a possible option, add the system agent installation directory to the exclude list of the antivirus solution.