Hi All,
Our site is running a version of Opencast 11x and Java 11. Today, my development cluster got a new version of the openjdk 11.0.20 2023-07-18 LTS.
When I restarted Opencast, I got an exception from the Felix loader that stop the load of all modules:
Caused by: java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1736)
at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1254)
The new version of that Oracle JDK release docs says it contains this patch:
In core-libs/java.util.jar
➜ Improved ZIP64 Extra Field Validation (JDK-8302483 (not public))
java.util.zip.ZipFile has been updated to provide additional validation of ZIP64 extra fields when opening a ZIP file. This validation may be disabled by setting the system property jdk.util.zip.disableZip64ExtraFieldValidation to true.
https://www.oracle.com/java/technologies/javase/11all-relnotes.html
I was not able to get Felix to load our Opencast modules until I put that "-Djdk.util.zip.disableZip64ExtraFieldValidation=true” in the Java opts.
Does anyone else know about this? I suspect it’s because our JARS are being zipped with an older version of some library that is causing the invalid zip64 extra data field size error.
Any suggestions are appreciated. Meanwhile, I’ll look at the version of our libs.
Best Regards,
Karen