NotCompliantMBeanException during cache creation

Gunnar Morling gunnar.morling at googlemail.com
Sat Mar 15 10:48:41 UTC 2025


Hey all,

I'm trying to run Apache Kafka with Project Leyden, using Java
build 24+36-3646.

I am following the steps laid out in JEP 483, yet when trying to create the
ahead-of-time cache (via -XX:AOTMode=create
-XX:AOTConfiguration=app.aotconf -XX:AOTCache=app.aot), I'm getting the
following exception (full stacktrace at [1]):

javax.management.NotCompliantMBeanException:
com.sun.management.UnixOperatingSystemMXBean: During -Xshare:dump, module
system cannot be modified after it's initialized

Is there any way to analyse that problem, e.g. to identify the MBean in
question?

Thanks for any pointers,

--Gunnar

[1] https://gist.github.com/gunnarmorling/264bfde458c71152336be6faab115563
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20250315/6f7d4f5b/attachment.htm>


More information about the leyden-dev mailing list