ViPR Controller: ViPR Controller 3.6 vRO plugin install fails with error: Unsupported major.minor version 52.0
Summary: ViPR Controller 3.6 vRO plugin install fails with error: Unsupported major.minor version 52.0
Symptoms
Install of the ViPR Controller 3.6 vRO plugin, the following error is seen in the VMware vRealize Orchestrator Configuration user interface:
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [default] in context with path [/storageosplugin-config] threw exception [Filter execution threw an exception] with root cause
java.lang.UnsupportedClassVersionError: com/emc/vipr/client/ClientConfig : Unsupported major.minor version 52.0 (unable to load class com.emc.vipr.client.ClientConfig)
Cause
This error occurred because the JRE version packaged with the vRO appliance was at an older version (JRE 1.7). JRE 1.7 is no longer supported by Oracle. The ViPR Controller 3.6 vRO plugin is build using JRE 1.8.
1. The 2.4 ViPR vRO plugin was built using JRE 1.7: [root@host]# file ./com/emc/vipr/client/ViPRCatalogClient.class ./com/emc/vipr/client/ViPRCatalogClient.class: compiled Java class data, version 51.0 (Java 1.7) [root@npectlvsmgsmi01 lib]#
2. The 3.6 ViPR Controller vRO plugin was built using JRE 1.8: [root@host]# file ./com/emc/vipr/client/ViPRCatalogClient.class ./com/emc/vipr/client/ViPRCatalogClient.class: compiled Java class data, version 52.0 (Java 1.8) [root@npectlvsmgsmi01 lib]#
3. The vRO Appliance was packaged with JRE 1.7:vroappliancehost # /usr/java/jre-vmware/bin/java -version
java version "1.7.0_111"
Java(TM) SE Runtime Environment (build 1.7.0_111-b31)
Java HotSpot(TM) 64-Bit Server VM (build 24.111-b31, mixed mode)
vroappliancehost #
Resolution
The vRO installer packaged with JRE 1.8 must be obtained from VMware.