Error: This JCP is currently not connected with a primary work process. Please retry the REST call later.

book

Article ID: 212300

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Issue when using the REST API through a load balancer:

 https://automic-rest.dhl.com:8088/ae/api/v1/1/system/health

 The following error is displayed in the REST response:

 {
 "code" : 45147,
 "error" : "This JCP is currently not connected with a primary work process. Please retry the REST call later.",
 "details" : "The Application is currently not available."
}

Cause

This can happen when there are phantom JCP processes running.

The load balancer sees the JCP process and sends the request, but the process is not connected to the AE.

Environment

Release : 12.3

Component : Automation Engine

Resolution

Restart all JCP processes so the load balancer only sees valid processes.