Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6638

Jolokia Agent could not start due to java.lang.IllegalArgumentException: Cannot instantiate class sun.security.x509.X500Name

XMLWordPrintable

      Enabling Jolokia Agent in AMQ 7.10 `jolokiaAgentEnabled: true` ends with the following exception:

      message-broker-amq-ss-0 message-broker-amq-container Could not start Jolokia agent: java.lang.IllegalArgumentException: Cannot instantiate class sun.security.x509.X500Name: java.lang.IllegalAccessException: class org.jolokia.util.ClassUtil cannot access class sun.security.x509.X500Name (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @319e53e5
      

            dbruscin Domenico Francesco Bruscino
            rhn-support-aboucham Abel Bouchama
            Tiago Bueno Tiago Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: