RA FTP Unsupported major.minor version 52.0

book

Article ID: 192153

calendar_today

Updated On:

Products

CA Automic One Automation CA Automic Operations Manager CA Automic Service Orchestration - Automation Engine CA Continuous Delivery Automation - Automation Engine

Issue/Introduction

When starting RA FTP agent in Automic Workload Automation, the agent ends immediately.  Logs show:

U02013310 Failed to load RA Agent.
U00003620 Routine 'UCEX_R' forces trace because of error.
U02000048 TRACE files opened with flag '000000000000001', max.trace: '9', memory trace: '0', search...
U00003449 Output to the TRACE file is finished

A forced trace file is created in the agent's /temp directory and in looking at the forced trace file, see the following error:

20200603/081321.923 - 17     ----------------------- Stack Trace -----------------------
20200603/081321.924 - 17     java.lang.UnsupportedClassVersionError: com/uc4/ftpjob/connections/ConnectionManager : Unsupported major.minor version 52.0

Cause

This error is caused by using an incorrect version of java

Environment

This was captured on RA Core 11.2.7 and FTP Solution 4.0.8

but can happen with other versions as well.

Resolution

Be sure to use java 8 or higher.  The easiest way to test that the correct java is used is to find the full path to the jre/bin directory and update the start command to include:

(full path to jre)/bin/java -jar (rest of start command here)