[jboss-jira] [JBoss JIRA] (WFLY-7794) Adding information how to quit batch mode when a batch fails
Ondra Chaloupka (JIRA)
issues at jboss.org
Thu Dec 15 05:11:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13338997#comment-13338997 ]
Ondra Chaloupka commented on WFLY-7794:
---------------------------------------
[~jdenise] yes, that would help me. My intention of creating this jira was frustration of not being able to find the way out of the batch interactive mode. I was trying just {{<TAB>}} but nothing happens. Listing all commands was confusing as there are quite a lot of them and it's hard to say which are part of batch context. Then searching google takes me quite a while to get the answer.
Personally still I would vote for reworking the message a bit to inform somehow about {{batch <TAB>}} (or {{discard-batch}}) possibility. If simple {{<TAB>}} shows commands of context of batch interactive mode that would be even better from my point of view.
> 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