Symptom
SUM DMO upgrade or migrate to HANA fails.
There will be a log file created from this failure called SAPup_troubleticket.log. In this log, you will find the error:
SAPup broke during phase SUBMOD_MIG_CONFIG/HDB_MIGCONFIG in module PREP_CONFIGURATION / Configuration and language selection
Error Message: Process /export/PMESUM/SUM/abap/bin/hdbsllib exited with 1, see '/export/PMESUM/SUM/abap/log/HDBMIGCONFIGOUT.LOG' for details
Referring to the HDBMIGCONFIGOUT.log file, you can see the full error.
EXECUTING /export/SUM/SUM/abap/bin/hdbsllib HDB_CMD_CLAZZ_NAME=IS_CONNECT_POSSIBLE DATABASE_SID=HDB DATABASE_HOSTNAME=hanasystem INSTANCE_NUMBER=00 JDBC_PATH=/export/SUM/SUM/abap/bin DATABASE_SYSTEM_USER_PASSWORD=<HIDDEN>
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sap/hdb/core/main/cmd/HdbCmdMain : Unsupported major.minor version 49.0
Cause
This error may occur because the class was compiled in a different java version than it is being run in.
You can validate which version of JAVA would work with the library by running the following command:
/usr/sap/<SID>/SYS/exe/jvm/linuxx86_64/sapjvm_4/bin/java -jar /export/SUMDMO/SUM/abap/bin/com.sap.hdb.core.jar
This will throw the error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/sap/hdb/core/manifest/MainClass : Unsupported major.minor version
49.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:307)
at java.net.URLClassLoader.access$100(URLClassLoader.java:59)
at java.net.URLClassLoader$1.run(URLClassLoader.java:250)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:362)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:318)
at java.lang.ClassLoader.loadClass(ClassLoader.java:308)
Solution
See note 1959955 - SUM upgrade/migration to HANA fails during HDB_MIGCONFIG