Banner Jobs using UC4gjajobsCustom.shl file without debug echoes directory listing
search cancel

Banner Jobs using UC4gjajobsCustom.shl file without debug echoes directory listing

book

Article ID: 264798

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

The o*.00 output file from banner jobs that goes in the /appworx/out directory has a listing of the files in that directory. The problem only occurs for customers using the UC4gjajobsCustom.shl file.
When we run a banner job, we use the UC4gjajobs.shl job. Within this there is a logic that says if you have a custom  UC4gjajobs.shl run this script that lists everything from the directory it is in. The below errors are seen in the logs:

ErrorMsg: AwE-5012 File read error
Details: 10.0.0.1:2099:checkSize; nested exception is: 
 java.rmi.RemoteException: null; nested exception is: 
 Agent error :  SeqNo 780520 Agent PROD Master PROD service stack Method checkSize [hostname/10.0.0.1:6975] : java.lang.ArrayIndexOutOfBoundsException
File read error : 10.0.0.1:2099:checkSize; nested exception is: 
 java.rmi.RemoteException: null; nested exception is: 
 Agent error :  SeqNo 780520 Agent PROD Master PROD service stack Method checkSize 

 

How do we stop the "ls" command?  once before i had found it in the R.A.LOADER.jar file? 

 

 

Environment

Release : 9.4

CA Automic Applictaions Manager

Banner agent 4.1.3

Cause

This is  known defect.

Resolution

Known defect  fixed  in  RA Banner release 4.1.4 or higher.

Workaround provided as below resolved issue and did not list the files from the directory it is in.

Changing the command inside the UC4gjajobs.shl from
Run the echo ** Using custom UC4gjajobs script ** 
to enclose it in quotations 
echo "* Using custom UC4gjajobs script *"