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

CLI command "/host=master/server-config=server-one:remove" did not work if used in a batch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta5
    • None
    • Management
    • None
    • Hide

      If a default 10.x domain is started this command sequence will fail:
      batch
      /host=master/server-config=server-one:stop(blocking=true)
      /host=master/server-config=server-one:remove
      run-batch

      Show
      If a default 10.x domain is started this command sequence will fail: batch /host=master/server-config=server-one:stop(blocking=true) /host=master/server-config=server-one:remove run-batch

      If a server is removed from a batch the command will fail.
      The same command will work correct if no batch is used

      21:13:46,310 INFO [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) WFLYPC0011: Process 'Server:server-one' finished with an exit status of 0
      [Host Controller] 21:13:46,351 INFO [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server server-one
      [Host Controller] 21:13:46,392 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 4) WFLYCTL0013: Operation ("stop") failed - address: ([
      [Host Controller] ("host" => "master"),
      [Host Controller] ("server-config" => "server-one")
      [Host Controller] ]) - failure description: "WFLYCTL0216: Management resource '[
      [Host Controller] (\"host\" => \"master\"),
      [Host Controller] (\"server-config\" => \"server-one\")
      [Host Controller] ]' not found"

              ehugonne1@redhat.com Emmanuel Hugonnet
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: