Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3368

jboss-admin tool doesn't return non zero code when command fails to execute

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Critical
    • 7.1.0.Final
    • 7.1.0.CR1b
    • CLI
    • None

    Description

      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.

      [rsvoboda@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@rosta-ntb ~]$ echo $?
      0
      

      Attachments

        Activity

          People

            olubyans@redhat.com Alexey Loubyansky
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: