[AWA] GET_SCRIPT_VAR input longer than 255 characters will crash all WP and require cold start to recover

book

Article ID: 192533

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation CA Automic Operations Manager CA Automic Oracle

Issue/Introduction

FATAL ERROR: All WPs are killed instantly and cannot be warm started normally (a COLDSTART is needed) due to a failure with GET_SCRIPT_VAR


Reproduction steps: (CAUTION! DO NOT TRY THIS ON YOUR PRODUCTION ENVIRONMENT):

  • Create a variable with value = 255-char-length value, use GET_SCRIPT_VAR to retrieve its value instead of its name (i.e &VAR1# instead of VAR1#)

After a short while, the following message is shown:

U04006779 No Work process could be found. Please check your network connection and that the database service is running and fully functional.

All normal WPs are killed without any message. Starting them up normally will result in a hang state, then killed automatically again without any meaningful message.

Cause

Defect

Environment

Release : 12.1

Component : AUTOMATION ENGINE

Resolution

Root cause: using GET_SCRIPT_VAR with input longer than 255 characters will result in a critical state where all AE's WP will be killed instantly and can only be started up with a COLD START.
The fix will be delivered in the following versions:

  • Automation.Engine 12.3.3 - Available
  • Automation.Engine 12.1.9 - Available
  • Automation.Engine 12.2.7 - Available