I was trying to upgrade an older oracle database version 12.1.0.2.0 (Enterprise edition – Non CDB) to a 19c version.
The OS was Oracle Linux 7.
After proceeding with the first steps, I then ran the preupgrade tool to check for any conflicts and problems.
$ORACLE_HOME/jdk/bin/java -jar /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/preupgrade.jar TERMINAL TEXT
One of the required actions that the preupgrade log suggested was the below:
Contact Oracle Support for instructions on how to resolve this error.
ERROR: ORA-29548 ORA-29548: Java system class reported: release of Java
system classes in the database (12.1.0.2.0 1.6) does not match that of
the oracle executable (12.1.0.2.200414 1.6)
There is a problem with the JAVAVM component and database upgrade cannot
be performed until it is corrected.
JAVAVM component must be functioning properly before database upgrade.
Then, I proceeded with contacting Oracle support and providing the below logs for investigation:
-Alert log
-LS inventory output:
opatch lsinventory -detail > lsinventoryoutput.txt
-srdc_env.log
-preupgrade.log
-Output from a custom sql script provided by Oracle support.
After the investigation of the above logs, the conclusion was that :
Post installation for the OJVMPSU was not completed, which will leave the Oracle JVM component not to be in sync with binaries which in turn can lead to certain abnormal behavior of java related activities.
Output from DBA_REGISTRY_HISTORY doesn’t have any records to indicate that the post installation steps was run.
So in order to proceed and overcome the error, I had to complete the post installation steps for the OJVMPSU patch 30805558.
Written by Nikos Minaidis
14/06/2022
