glassfish
  1. glassfish
  2. GLASSFISH-19457

Attaching to a job that failed shows SUCCESS

    Details

      Description

      Consider the following sequence of commands:

      $ asadmin set a=b
      remote failure: Invalid attribute name a
      Command set failed.

      (Note: the previous command is just to show that a set of a=b fails.)

      $ asadmin --detach set a=b
      Job ID: 3
      Command set started successfully
      $ asadmin attach 3
      Command set executed SUCCESS.
      Command attach executed successfully.

      Here, even though the detached job failed, it is still showing the SUCCESS for the return value.

      Also, even in the successful case, shouldn't "SUCCESS" be "successfully" so that the English reads better?

        Activity

        Hide
        martin.mares added a comment -

        Resolved by Bhakti

        Show
        martin.mares added a comment - Resolved by Bhakti

          People

          • Assignee:
            martin.mares
            Reporter:
            Tom Mueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: