Cannot start Jenkins 2.346.3 with Java 17 when using AD authentication #22361
Labels
Needs member attention
release bug
This bug is present in a released version of Open Liberty
release:220011
Milestone
Describe the bug
When using AD authentication on Jenkins with OpenLiberty 22.0.0.9 running on Java 17 I see the following message:
0000002f com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "java.lang.IllegalAccessException: class com.ibm.ws.jndi.internal.WASInitialContextFactoryBuilder cannot access class com.sun.jndi.dns.DnsContextFactory (in module jdk.naming.dns) because module jdk.naming.dns does not export com.sun.jndi.dns to unnamed module @3ce42ee7 com.ibm.ws.jndi.internal.WASInitialContextFactoryBuilder 58" at ffdc_22.08.31_18.04.56.0.log
FFDC attached:
ffdc_22.08.31_18.04.56.0.log
This doesn't happen with Java 11
Steps to Reproduce
Start Jenkins with Java17
Expected behavior
The app to start successfully
Diagnostic information:
$WLP_OUTPUT_DIR/messages.log
Additional context
I fixed the issue by adding:
to:
${wlp.install.dir}/lib/platform/java/java9.options
The text was updated successfully, but these errors were encountered: