Using PREP_PROCESS(AGENT, UNIXCMD) the Linux Java Agent leaves a file in the bin directory
search cancel

Using PREP_PROCESS(AGENT, UNIXCMD) the Linux Java Agent leaves a file in the bin directory

book

Article ID: 407348

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine Automic SaaS CA Automic One Automation

Issue/Introduction

In the agent's bin directory, there are files left over with a name like 391743426940295: 

The content is the messenger header and trailer:

cat bin/391743426940295
Program 'UC4 Job Messenger' version '21.0.13+hf.1.build.1740044915288' started
UCMDJP: *********************************************************************
UCMDJP: ** JOB 0001013163 (ProcID:0000013434) START AT 31.03.2025/15:15:46 **
UCMDJP: **                                    UTC TIME 31.03.2025/13:15:46 **
UCMDJP: *********************************************************************

Program 'UC4 Job Messenger' version '21.0.13+hf.1.build.1740044915288' started
UCMDJP: *********************************************************************
UCMDJP: ** JOB 0001013163 (ProcID:0000013434) ENDED AT 31.03.2025/15:15:46 **
UCMDJP: **                                    UTC TIME 31.03.2025/13:15:46 **
UCMDJP: ** --------------------------------------------------------------- **
UCMDJP: **                                RET-CODE:          0             **
UCMDJP: *********************************************************************

This happens when running the following script:

:set &hnd#=prep_process(<UNIX_AGENT>, UNIXCMD, "ls", "UC_LOGIN=LOGIN.LOCAL")

 

Environment

Release: 21.x 24.x

Component: Agent Unix Java

Cause

DE168610

Resolution

Solution:

Update to a fix version listed below or a newer version if available.


Fix version:

Component(s): Agent Unix Java

Automation.Engine 24.4.1 HF2 - Available 
Automation.Engine 24.4.2 - Planned release autumn 2025
Automation.Engine 21.0.15 - Planned release September 2025

Additional Information

Public Desc: A problem has been solved where, when using UNIXCMD, some files were left in the bin folder of the Java-based Agent.