search cancel

REST API / Promptset buffer fails when length of input is >2045 characters

book

Article ID: 188441

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

There are 2 cases where this issue can appear:

1. The REST API fails with a TimeoutException (500) when the content length of a PromptSet Variable (input part in JSON) is larger then 2045 characters.

According to the documentation the UC_DATATYPE_STRING type is unlimited, however the when sending a too long variable content the JCP prints the following message:

20191115/092926.835 - 166151 U00045014 Exception 'java.util.concurrent.TimeoutException: "Wait for response of request 297 timed out after 60 seconds."' at 'com.automic.kernel.impl.CpDispatcherComponent.waitForResponse():108'.
20191115/092926.835 - 166151 U00045099 The server replied with following status: '500'


2. In the Java API putPromptBuffer hangs with a promptset value larger than 2045 characters and return a RunId of '0'.
The job shows up active on the Processing Monitoring tab, it does not have any details and no job report being generated

In this case it is the 'put_prompt_buffer' command that fails. 

Cause

The was a limit to the size and an overflow was not handled correctly

Environment

Release : v12.2, v12.3

Component : AUTOMATION ENGINE

Resolution

Solution:

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


Fix version:

Component(s): Automation Engine

Automation.Engine 12.3.0 - Available
Automation.Engine 12.1.5 - Available
Automation.Engine 12.2.3 - Available
Automation.Engine 12.0.9 - Available
Automation.Engine 12.0.8 HF2 - Available