SFTP upload fails on Windows 11.5 Agent
search cancel

SFTP upload fails on Windows 11.5 Agent

book

Article ID: 191709

calendar_today

Updated On:

Products

CA Workload Automation DE - Business Agents (dSeries) CA Workload Automation DE DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries) CA Workload Automation DE - Scheduler (dSeries)

Issue/Introduction

SFTP jobs fails with below message in 11.5 Agent, even when the file "plugininvoker.dll" exist in below location.

"C:\Program Files (x86)\CA\Workload Automation AE\SystemAgent\AXWUA21BVWA\plugininvoker.dll"

Exception in thread "main" java.lang.UnsatisfiedLinkError: plugininvoker (Not found in java.library.path)

@at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1462)

@at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1414)

@at java.lang.System.loadLibrary(System.java:558)

@at cybermation.utility.plugins.CybPluginInvoker.<clinit>(CybPluginInvoker.java:308)

 

Environment

Release : 11.5 Windows Agent

Component : CA Workload Automation System Agent

Resolution

The problem is related to the PATH in the environment for the Agent service.  The Agent current working directory where the DLLs are located is not part of the PATH.  This causes the LoadLibrary to fail.  As a workaround you can modify the global system PATH to add the home directory of the Agent.

If the agent is installed as "C:\Program Files\CA\WA Agent".  Add that path to the end of the PATH located under System Properties -> Advanced -> Environment Variables -> System Variables -> Path