Javascript based processes are hanging in PAM
search cancel

Javascript based processes are hanging in PAM

book

Article ID: 372994

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

A simple PAM process that checks hostname data does not show any problem.  Problem is seen whenever there is a javascript element in the PAM process, which causes the process to hang

Environment

Release:  4.3.X or higher
CA Process Automation

Cause

The c2o.log will also have a large number of entries such as this:

20XX-XX-XX XX:XX:XX,XXX ERROR [com.optinuity.c2o.bean.C2OLibrary] [4b-8bed1bdcef19] Failed to remove resource XXXX from YYYY
java.util.ConcurrentModificationException: Resource object has been modified since loaded - YYYY

issue is that the javascripting cannot run due to lack of resources in the resource object 

Resolution

In PAM, locate the resource object denoted as "YYYY" in the above logging and delete all such entries in Orchestrator.  Code may also need to be examined if there is any looping that is accumulating such resources without releasing them.