Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2711

engine is unable to resolve script resources while parsing process

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.2.0-alpha4
    • Fix Version/s: 7.2.0, 7.2.0-alpha5
    • Component/s: engine
    • Labels:

      Description

      The problem is that if you have a process with a script as resource and this resource is not referenced as deployment resource, then the engine tries to load the script from its classpath but can't find it.

      The reason for this problem is that the engine can't resolve the script from the classpath of the ProcessApplication when it parses the bpmn.xml.

      A Workaround is to annotate the script as a deployment resource inside the processes.xml and in the camunda:resource-attribute.

      Needs to be discussed if the workaround should be the default way or if there should be a way for the engine to look into the classpath of the process application.

      Problem was found on JBoss AS7 with camunda BPM 7.2.0-SNAPSHOT and the attached war.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            stefan.hentschel Stefan Hentschel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: