search cancel

Getting "Bad version number in .class file" when applying 11.3.6 SP8 Cum2

book

Article ID: 254939

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Current Autosys Version : 11.3.6.SP8.1643

When applying CUM2 patch 99111280, following error is being produced

************ Applying the ORA database patch to XXXXX ************
RefreshAEDB:  Base version 11.3.6.8.0 found, RefreshAEDB to upgrade the CA Workload Automation AE database
RefreshAEDB:  Upgrading the DB tables where required.
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

CA Workload Automation AE database was not refreshed.

Environment

Release : 11.3.6

Resolution

This is happening because /opt/CA/WorkloadAutomationAE/JRE_WA and JRE64_WA had Java 1.5 in them.  
Customer made these two folders point to a custom Java they had,  which seemed to be Java 1.5  though the folder name said Java 1.8.

Extracted Java 1.8 32bit and 64bit Javas into  JRE_WA  AND JRE64_WA  folders.

Apply of CUM2 patch was successful now.