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

Reload or Shutdown inside IF statement is performed before the if/else block batch is executed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR2
    • 2.0.0.Beta1
    • CLI
    • None

    Description

      Executing a reload or shutdown inside an if/else block results in the reload or restart occurring before the other commands in the batch are executed.

      if (outcome == success) of /subsystem=logging/logger=org.jboss.as.cli:read-resource()
         /subsystem=logging:write-attribute(name=use-deployment-logging-config
         shutdown --restart=true
      end-if
      

      This command will actually leave the server in a reload-required state. The shutdown, or reload, will occur before the write-attribute is executed.

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              gonthim Joe Wertz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: