Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-645

When parsing standalone.xml, any unrecognized XML elements produce a scary stack trace

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2016.11.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2016.11
    • Steps to Reproduce:
      Hide

      Run the config-options example that uses a bog-standard standalone.xml, which includes some elements not recognized by the current -swarm.jar's fractions.

      Show
      Run the config-options example that uses a bog-standard standalone.xml, which includes some elements not recognized by the current -swarm.jar's fractions.

      Description

      It would be nice to catch those exceptional stack-traces, since they aren't truly that exceptional within the context of WildFly Swarm.

      We should probably still log them as WARN or even ERROR, but without the stack-trace. The stack is super scary, and not at all useful. But a simpler, less scary message would be good.

      Dunno if these percolate high enough for us to catch'em, but worth investigating.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                bob.mcwhirter Bob McWhirter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: