You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Stefan Günst <st...@me.com> on 2022/05/04 11:51:15 UTC

What did this error mean on JDK 17 - Can't init JMXConnectorServer

Hi,

running JDK17 an Karaf 4.3.7 we got this error on startup 

2022-05-04T12:56:42,142 | ERROR | activator-1-thread-1 | Activator                        | 300 - org.apache.karaf.management.server - 4.3.7 | Can't init JMXConnectorServer: superclass acces
s check failed: class org.apache.karaf.management.ConnectorServerFactory$JmxRegistry (in unnamed module @0x40516870) cannot access class sun.rmi.registry.RegistryImpl (in module java.rmi) be
cause module java.rmi does not export sun.rmi.registry to unnamed module @0x40516870

and how can we prevent this.

regards

Stefan