glassfish
  1. glassfish
  2. GLASSFISH-17097

Certain message strings set in action reporter prevent asadmin from correctly handling the return action report

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1, 4.0
    • Fix Version/s: None
    • Component/s: admin
    • Labels:
      None

      Description

      Please also see the related issue.

      asadmin asks the DAS to use the PropsFileActionReporter to report the command status. PropsFileActionReporter does not correctly handle certain strings when passed to setMessage if parts of the string are formatted in the same way as a manifest attribute: new line, attr-name: attr-value

      The related issue shows an example in which the apparent attribute name is invalid, so asadmin's attempt to interpret the entire action report as a manifest fails.

      PropsFileActionReporter should be changed so it can handle such strings and/or asadmin should use some other type of action reporter implementation that can handle such strings.

        Activity

        Hide
        Tom Mueller added a comment -

        Byron, is this related to the email discussion that you and Tim were already having?

        Show
        Tom Mueller added a comment - Byron, is this related to the email discussion that you and Tim were already having?
        Hide
        Byron Nevins added a comment -

        -> P4

        Show
        Byron Nevins added a comment - -> P4

          People

          • Assignee:
            Byron Nevins
            Reporter:
            Tim Quinn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: