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

Handling of ModelControllerClient means there is no safe way to reload a process from the wildfly maven plugin

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None

      Description

      reload command is non-blocking which causes problems in CLI scripts. Let's take this as an example:

      if (outcome == failed) of /subsystem=resource-adapters/resource-adapter=activemq-ra:read-resource
              /subsystem=resource-adapters/resource-adapter=activemq-ra:add(archive=activemq-ra.rar)
              :reload
      end-if
      

      I use jboss-as-maven-plugin for its execution and sometimes I get: Command execution failed for command 'end-if'. if request failed: java.util.concurrent.ExecutionException: Operation failed: Channel closed

      This functionality has already been asked in WFLY-208, but for some reason it was implemented only for domain-related commands but not standalone-related (reload and shutdown).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jdenise Jean Francois Denise
                  Reporter:
                  trohovsky Tomas Rohovsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated: