vy commented on issue #2774:
URL: 
https://github.com/apache/logging-log4j2/issues/2774#issuecomment-2254390183

   @autumoswitzerland, thanks for your report, much appreciated. The described 
behaviour is indeed unexpected. I will create a custom Java runtime and try to 
reproduce the error – when JMX is disabled, the `java.management` module 
(providing `InstanceNotFoundException`) should not be required.
   
   In the meantime,
   
   1. Could you share the packaged modules (`java.base`, `java.compiler`, etc.) 
in your Windows and Linux Java runtimes?
   2. Could you try setting the `LOG4J_DISABLE_JMX=true` environment variable 
to cross out the initialization order hiccup?
   3. Could you try (explicitly?) adding the `java.management` module?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to