Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6342

The jmx-remoting and layer's dependency needs to be non-optional


      The `jmx-remoting` layer's dependency on `management` can not be optional as management needs to be present for it to register with the endpoint without getting the following error:

      18:38:27,361 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "jmx"),
          ("remoting-connector" => "jmx")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["jboss.remoting.endpoint.management"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.jmx.remoting-connector-ref is missing [jboss.remoting.endpoint.management]"]

      This was made optional when we had multiple management layers to choose from as a user would need to be able to exclude the default and add an alternative but we don't have that now.

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            0 Vote for this issue
            1 Start watching this issue