[jboss-jira] [JBoss JIRA] (WFCORE-533) Add blocking option to reload command for standalone server
Brian Stansberry (JIRA)
issues at jboss.org
Thu Feb 5 11:45:49 EST 2015
[ https://issues.jboss.org/browse/WFCORE-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry moved WFLY-4314 to WFCORE-533:
-----------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-533 (was: WFLY-4314)
Affects Version/s: (was: JBoss AS7 7.2.0.Final)
(was: 8.2.0.Final)
Component/s: CLI
(was: Domain Management)
> Add blocking option to reload command for standalone server
> -----------------------------------------------------------
>
> Key: WFCORE-533
> URL: https://issues.jboss.org/browse/WFCORE-533
> Project: WildFly Core
> Issue Type: Enhancement
> Components: CLI
> Reporter: Tomas Rohovsky
> Assignee: Brian Stansberry
>
> reload command is non-blocking which causes problems in CLI scripts. Let's take this as an example:
> {code}
> 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
> {code}
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list