Agent R11.4 environmental variables - invalid

book

Article ID: 197648

calendar_today

Updated On:

Products

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

Issue/Introduction

Users get invalid environmental variables when running R11.4 jobs.

Not sure where they came from. Checked /etc/profile, job owner .profile, .bash_profile, .bashrc and including WAAE.txt etc.

The additional vars are java_home=... and classpath=...

08/01/2020 04:00:00.846-0400 CAWA_I_20007 Environment variable: JAVA_HOME=/tmp/install.dir.14569/Linux/resource/jre

CLASSPATH=/tmp/install.dir.14569/InstallerData:/tmp/install.dir.14569/InstallerData/installer.zip:

Spool and log files attached.

Environment

Release : 11.4

Component : CA Workload Automation AE (AutoSys)

Resolution

It looks like the agent was started by the installer and the setting of JAVA_HOME and CLASSPATH was inherited from the installer's environment.

Check the environment setting and restart the agent to see if the setting is valid after the agent restart.

Additional Information

The user restarted the agent and it resolved the issue.