Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9262

adding undertow using the cli requires a batch

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • 12.0.0.Beta1
    • 11.0.0.Beta1
    • Web (Undertow)
    • None

    Description

      Undertow appears to be the only subsystem now requiring a composite operation when it is added to the domain management model using management operations from a management client, e.g. cli.
      The exact error is

      [standalone@embedded /] /subsystem=undertow:add
      {
      "outcome" => "failed",
      "failure-description" => "WFLYCTL0369: Required capabilities are not available:
      org.wildfly.undertow.host.default-server.default-host; Possible registration points for this capability:
      /subsystem=undertow/server=/host=
      org.wildfly.undertow.server.default-server; Possible registration points for this capability:
      /subsystem=undertow/server=*
      org.wildfly.undertow.servlet-container.default; Possible registration points for this capability:
      /subsystem=undertow/servlet-container=*",
      "rolled-back" => true,
      "response-headers" =>

      Unknown macro: {"process-state" => "reload-required"}

      }

      The sequence that actually works is

      batch
      /subsystem=undertow:add
      /subsystem=undertow/buffer-cache=default:add
      /subsystem=undertow/configuration=filter:add
      /subsystem=undertow/configuration=handler:add
      /subsystem=undertow/server=default-server:add
      /subsystem=undertow/server=default-server/host=default-host:add(alias=["localhost"])
      /subsystem=undertow/server=default-server/http-listener=default:add(socket-binding="http",redirect-socket="https",enable-http2="true")
      /subsystem=undertow/servlet-container=default:add
      run-batch

      Attachments

        Activity

          People

            tomazcerar Tomaž Cerar (Inactive)
            olubyans@redhat.com Alexey Loubyansky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: