[jboss-jira] [JBoss JIRA] (WFLY-7794) Adding information how to quit batch mode when a batch fails

Ondra Chaloupka (JIRA) issues at jboss.org
Wed Dec 14 05:31:00 EST 2016


Ondra Chaloupka created WFLY-7794:
-------------------------------------

             Summary: 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: Jason Greene
            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