Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-299

Improve ExtensibleXmlParser logging

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 7.0.0.GA
    • 6.x.x
    • jBPM Designer
    • None
    • DR3
    • jBPM sprint 3

    Description

      If BPMN process includes some error it's hard to track it down due to ambiguous logging.

      I am attaching one process definitions which demonstrates this. During the build of the attached process following error is produced:

      14:15:22,735 ERROR [org.drools.core.xml.ExtensibleXmlParser] (http-127.0.0.1:8080-2) (null: 4,281, 181): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:endEvent'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
      

      There are three suggestions:

      1) Include the process filename in the message
      2) Include the node id in the message - so when inspecting the actual *.bpmn file we can find the specific node
      3) Seems like this error is not really an error - but just a minor inconsistency, because the build succeed and the process can be executed without any issues. If you agree, maybe ERROR level should be change to WARN/INFO/DEBUG..

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-agiertli Anton Giertli
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: