Job fails with  java.lang.UnsatisfiedLinkError: /usr/java/jdk-1xxx/lib/ (WA Agent)
search cancel

Job fails with  java.lang.UnsatisfiedLinkError: /usr/java/jdk-1xxx/lib/ (WA Agent)


Article ID: 248835


Updated On:


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


When running a job, the WA Agent reports following errors:

Error: LinkageError occurred while loading main class com.example.class.some
 java.lang.UnsatisfiedLinkError: /usr/java/jdk-17.0.2/lib/
/usr/java/jdk-17.0.2/lib/ version `SUNWprivate_1.1' not found (required by /opt/CA/WA_Agent/jre/lib/amd64/

When executing the command/script manually, it completes successfully.


Release : 12.x

Component : Workload Automation Sytem Agent

OS: Linux/UNIX


The job or script is using the WA agent JRE.  The job may need different parameters and JRE.


If the job/script can be executed manually on the machine, then check the environment variables.  Some of the variables may need to be defined in the job or in the script.  

Also, check to make sure LD_LIBRARY_PATH and PATH, export those envvars in the script or in the job.


export PATH=/usr/java/jdk-17.0.2/bin:$PATH
export LD_LIBRARY_PATH=/usr/java/jdk-17.0.2/lib:$LD_LIBRARY_PATH

Above values may differ in user OS and environment.  Set them accordingly

Additional Information

Some tableau scripts/applications when executed via WA Agent have reported similar library issues.  Append 3rd party required libs to LD_LIBRARY_PATH at job level or in the script.