Tim
10/17/2023, 1:30 PMcarehart
10/17/2023, 1:39 PMDave Merrill
10/17/2023, 1:49 PMTim
10/17/2023, 1:50 PMTim
10/17/2023, 1:53 PM160 Successes
1 Warnings
0 NonFatalErrors
0 FatalErrors
carehart
10/17/2023, 1:53 PMcarehart
10/17/2023, 1:59 PMjakobward
10/17/2023, 2:26 PMTim
10/17/2023, 2:28 PMUnable to install Logging package: java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/Layout
The error log has a bunch of stack traces.carehart
10/17/2023, 2:30 PMcarehart
10/17/2023, 2:30 PMTim
10/17/2023, 2:32 PMTim
10/17/2023, 2:40 PMjava.lang.NoClassDefFoundError: org/apache/logging/log4j/core/Layout
And the out log has only 1 line, the one I posted above.carehart
10/17/2023, 2:44 PMTim
10/17/2023, 2:45 PMTim
10/17/2023, 2:46 PMcarehart
10/17/2023, 2:46 PMTim
10/17/2023, 2:48 PMcarehart
10/17/2023, 2:48 PMcarehart
10/17/2023, 2:49 PMTim
10/17/2023, 2:50 PMTim
10/17/2023, 2:50 PMTim
10/17/2023, 2:51 PMcarehart
10/17/2023, 2:51 PMcarehart
10/17/2023, 2:52 PMTim
10/17/2023, 2:52 PMcarehart
10/17/2023, 2:53 PMjakobward
10/17/2023, 2:53 PMTim
10/17/2023, 2:54 PMTim
10/17/2023, 2:54 PMTim
10/17/2023, 2:54 PMcarehart
10/17/2023, 2:55 PMcarehart
10/17/2023, 2:57 PMTim
10/17/2023, 2:58 PMTim
10/17/2023, 2:58 PMcarehart
10/17/2023, 2:58 PMcarehart
10/17/2023, 2:59 PMseancorfield
seancorfield
carehart
10/17/2023, 5:24 PMseancorfield
Tim
10/17/2023, 5:26 PMTim
10/17/2023, 5:59 PMseancorfield
Tim
10/17/2023, 6:20 PMTim
10/17/2023, 6:21 PMseancorfield
seancorfield
seancorfield
Tim
10/17/2023, 6:26 PMseancorfield
log4j.jar
the same as the U5-to-U3 log4j.jar
version).seancorfield
Tim
10/17/2023, 8:03 PMseancorfield
Tim
10/17/2023, 8:37 PMDave Merrill
10/17/2023, 9:23 PMDave Merrill
10/17/2023, 9:24 PMcarehart
10/17/2023, 9:30 PMseancorfield
carehart
10/17/2023, 9:43 PMseancorfield
carehart
10/18/2023, 4:48 AM-Djdk.util.zip.disableZip64ExtraFieldValidation=true
Again, see the post for more.
Now, I didn't think of this earlier today because you said that your update install log showed 0 errors. If oen tries to do an update with these newer JVMs but without that special argument, the install log WILL show you getting fatalerrors.
So I didn't think this could be your issue. But I happened to look more closely at my startup logs after doing this intentionally, and sure enough the CF2023 log has the very Unable to install Logging package: java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/Layout
error that you quoted (as well as others). The CF2021 instead didn't have that core/Layout
but it had some like Unable to install Logging package: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Logger
So again, while it may NOT be your situation (given the other oddities, like the 1-line out log, and being able to reinstall update 5), I share this as much for others (and to put a totally different take on the log4j aspect), and in the hopes that maybe it triggers an idea on your end.carehart
10/18/2023, 4:52 AMseancorfield
--enable-preview
was specified is about the only thing I can think of right now).
Right now at work, we're on the latest JDK 20 everywhere and we're already testing on JDK 21 (we can't upgrade CI because compiling on JDK 21 won't always run on JDK 20, because of the new SequencedCollection
interface that 21 added, which leaks into bytecode pretty easily and doesn't exist on 20 -- but even that version sensitivity is rare in the Java/JVM languages world as a whole, and only affects precompiled bytecode, not compile-on-demand).seancorfield
carehart
10/18/2023, 10:02 PMseancorfield
carehart
10/18/2023, 10:33 PM