[jboss-jira] [JBoss JIRA] (WFLY-7794) Adding information how to quit batch mode when a batch fails
Jean-Francois Denise (JIRA)
issues at jboss.org
Wed Dec 14 12:12:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13338708#comment-13338708 ]
Jean-Francois Denise commented on WFLY-7794:
--------------------------------------------
Hi, that is an interesting feedback. We plan to merge all batch commands under a single command named batch.
So, in your case to discover the batch discard or holdback, you would simply do what you did when creating a new batch: batch <TAB>, and it will list all batch related actions:
- discard, holdback, list, ....
Don't you think that it would have helped you?
Thanks.
JF
> Adding information how to quit batch mode when a batch fails
> ------------------------------------------------------------
>
> Key: WFLY-7794
> URL: https://issues.jboss.org/browse/WFLY-7794
> Project: WildFly
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 10.1.0.Final
> Reporter: Ondra Chaloupka
> Assignee: Jean-Francois Denise
> Priority: Minor
>
> When running an interactive batch in CLI and there is some fail in steps it would be nice to get information how to exit the batch mode. The proper command is {{discard-batch}} (as I understood from documentation at https://developer.jboss.org/wiki/CLIBatchMode) but it's a bit uneasy to find that command.
> Currently when some error occurs I can see message like
> {quote}
> [standalone at localhost:9990 / #] run-batch
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
> WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
> Step: step-2
> Operation: /subsystem=transactions:write-attribute(name=process-id-uuid, value=false)
> Failure: WFLYCTL0105: process-id-uuid is invalid in combination with process-id-socket-binding
> {quote}
> Could there be added a note that for quiting interactive batch mode use {{discard-batch}} command?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list