[jboss-jira] [JBoss JIRA] (AS7-3368) jboss-admin tool doesn't return non zero code when command fails to execute

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Jan 19 11:21:18 EST 2012


     [ https://issues.jboss.org/browse/AS7-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-3368:
----------------------------------

       Assignee: Alexey Loubyansky  (was: Brian Stansberry)
    Component/s: CLI
                     (was: Domain Management)
                     (was: Scripts)

    
> jboss-admin tool doesn't return non zero code when command fails to execute
> ---------------------------------------------------------------------------
>
>                 Key: AS7-3368
>                 URL: https://issues.jboss.org/browse/AS7-3368
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: CLI
>    Affects Versions: 7.1.0.CR1b
>            Reporter: Rostislav Svoboda
>            Assignee: Alexey Loubyansky
>            Priority: Critical
>             Fix For: 7.1.0.Final
>
>
> Jboss-admin tool doesn't return non zero code when command fails to execute.
> It's necessary for us to know if command was executed properly or not. Parsing output is unacceptable.
> {code}
> [rsvoboda at rosta-ntb ~]$ TESTING/jboss-as7/bin/jboss-admin.sh  --connect command=:shutdown
> The controller is not available at localhost:9999
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [rsvoboda at rosta-ntb ~]$ echo $?
> 0
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list