Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10393

REST endpoint dependency on management socket bindings should be optional

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.4.16.Final, 10.0.0.Final
    • 9.4.15.Final, 10.0.0.Final
    • REST, Server
    • None

      Removing the management socket bindings causes the rest endpoint to fail at startup.

      <management-interfaces>
        <http-interface security-realm="ManagementRealm" console-enabled="false">
            <http-upgrade enabled="true"/>
            <socket-binding https="management-https"/>
        </http-interface>
      </management-interfaces>
      
      ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datagrid-infinispan-endpoint"),
          ("rest-connector" => "rest-connector")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.network.socket-binding.management-http"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.rest.rest-connector is missing [org.wildfly.network.socket-binding.management-http]"]
      }
      2019-07-02 18:17:24,919 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service org.wildfly.network.socket-binding.management-http (missing) dependents: [service jboss.datagrid-infinispan-endpoint.rest.rest-connector] 
      

      The dependency should be optional

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: