Agents stopped working after upgrading NAC/NES to RA 6.7.3

book

Article ID: 225083

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

After upgrading NAC & NES to RA version 6.7.3 our old agents versioned 6.5.0.10007 installed on AIX stopped working. Trying to execute any actions on these agents results in below error

2021-09-29 12:57:24,399 [Communication Msg Processor-31] ERROR (com.nolio.platform.shared.datamodel.Action:58) - action class [com.nolio.platform.shared.executables.actions.SleepAction] was probably compiled for JRE 1.7.
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/nolio/platform/shared/executables/actions/SleepAction, offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:331)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:155)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:715)
at java.net.URLClassLoader.access$400(URLClassLoader.java:94)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1169)
at java.security.AccessController.doPrivileged(AccessController.java:488)
at java.net.URLClassLoader.findClass(URLClassLoader.java:598)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:786)
at java.lang.ClassLoader.loadClass(ClassLoader.java:764)
at java.lang.ClassLoader.loadClass(ClassLoader.java:741)
at com.nolio.platform.shared.datamodel.ActionProxy.createAction(ActionProxy.java:56)
at com.nolio.platform.shared.flowcontrol.service.FlowActionProxyReplacer.createActionFromActionProxy(FlowActionProxyReplacer.java:74)
at com.nolio.platform.shared.flowcontrol.service.FlowActionProxyReplacer.replaceSingleStepActionProxies(FlowActionProxyReplacer.java:45)
at com.nolio.platform.shared.flowcontrol.service.FlowActionProxyReplacer.replaceActionProxies(FlowActionProxyReplacer.java:38)
at com.nolio.platform.shared.flowcontrol.service.FlowDataFactory.initFlow(FlowDataFactory.java:93)
at com.nolio.platform.shared.flowcontrol.service.FlowDataFactory.create(FlowDataFactory.java:85)
at com.nolio.platform.shared.flowcontrol.service.FlowDataFactory.create(FlowDataFactory.java:46)
at com.nolio.platform.shared.flowcontrol.service.FlowControlService.init(FlowControlService.java:80)
at com.nolio.platform.shared.flowcontrol.service.FlowControlService.handleServiceRequest(FlowControlService.java:49)
at com.nolio.platform.shared.communication.CommunicationNetworkServiceManager$1.run(CommunicationNetworkServiceManager.java:232)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1164)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:634)

Cause

The action JARs in 6.7.3 are compiled with Java 8 without compatibility mode with Java 6/7, which causes JRE 1.7 class loader to fail when it tries to de-serialize an action object received from NAC when a deployment/process is run. 
 
This is indeed one of the reasons why the minimal supported version for RA version 6.7 was raised to JRE 1.8.* irrespective of agent version as specified in the documentation.

Documentation 

Environment

Release : 6.7

Component : RAAGT : CA RELEASE AUTOMATION AGENT

Resolution

  • For Operating System(OS) where agent installers are bundled with JRE, upgrade the agents,
  • For OS where agent installer rely on JRE to be present on system like AIX, switch agents to point to JRE 1.8

Additional Information

CA Release Automation 6.7 system requirements