search cancel

JCP and JWP writes traces when the AE is started

book

Article ID: 202140

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

At startup JCP and JWP generate a forced traces. No technical problem visible, Advanced Search, Monitoring, Authentication, Rest API are working fine.

Log from JCP

20200122/170209.219 - 35   U00003472 Connection to Server 'UC4T#WP011' has been closed.
20200122/170209.219 - 35   U00003407 Client connection '7' from '159.103.212.220:46602' has logged off from the Server.
20200122/170209.227 - 231       Jetty: Stopped [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:8088}
20200122/170209.227 - 231       Jetty: node0 Stopped scavenging
20200122/170209.229 - 231       Jetty: Stopped [email protected]{/,null,UNAVAILABLE}
20200122/170209.249 - 35   U00003472 Connection to Server 'UC4T#WP001' has been closed.
20200122/170209.250 - 35   U00003407 Client connection '6' from '159.103.212.220:46572' has logged off from the Server.
20200122/170209.255 - 37   U00045161 RunId '0' received from 'UC4T#WP017'. Old RunId was '214882932'.
20200122/170209.255 - 37   U00003475 Server 'UC4T#WP017' is the primary server of the system 'UC4T'.
20200122/170209.291 - 231  U00045129 Search index update: deactivated.
20200122/170209.299 - 231  U00003432 Termination of Server 'UC4T#CP001' initiated.
20200122/170209.300 - 231  U00045014 Exception 'java.lang.InterruptedException: "null"' at 'java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos():2067'.
20200122/170209.300 - 231  U00003620 Routine 'com.automic.kernel.impl.NetworkMessageDispatcher' forces trace because of error.
20200122/170209.315 - 231  U00003450 The TRACE file was opened with the switches '0000000000000000'.
20200122/170209.580 - 231  U00003449 Output to the TRACE file is finished.

Trace extract of the same JCP;

20200122/170209.400 - 231       Current memory usage of the heap:init = 394264576(385024K) used = 578421056(564864K) committed = 1811415040(1768960K) max = 3817865216(3728384K)
20200122/170209.400 - 231       Current memory usage of non-heap memory:init = 2555904(2496K) used = 99599112(97264K) committed = 104464384(102016K) max = -1(-1K)
20200122/170209.401 - 231       
20200122/170209.401 - 231       ----------------------- Stack Trace -----------------------
20200122/170209.401 - 231       java.lang.InterruptedException
20200122/170209.401 - 231           at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2067)
20200122/170209.401 - 231           at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
20200122/170209.401 - 231           at java.util.concurrent.Executors$DelegatedExecutorService.awaitTermination(Executors.java:675)
20200122/170209.401 - 231           at com.automic.kernel.impl.NetworkMessageDispatcher.shutdown(NetworkMessageDispatcher.java:152)
20200122/170209.401 - 231           at com.automic.kernel.impl.ServerProcess$2.runSave(ServerProcess.java:532)

Same errors found in JWP trace files.

When a PWP change happens, the JCP receives a message with a runid 0, which should not happen during the change.

Cause

A problem existed where JCP/REST API would shut down after receiving an invalid runId from the PWP. Instead they will re-request a new runId by disconnecting.

Environment

 AUTOMATION ENGINE : 12.3.1 

 

Resolution

This is fixed in version  AE 12.3.3, upgrade AE to this service or to a higher one.