resourceRootPath does not work in spring boot app

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • Environment:
      Camunda Spring boot starter

      Steps to reproduce

      • Created simple Camunda Spring boot app version 7.12.5-ee.
      • Placed a foo.bpmn file in src/main/resources/bpmn folder
      • Placed following entry in processes.xml
        <process-application
          xmlns="http://www.camunda.org/schema/1.0/ProcessApplication"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        
          <process-archive name="loan-approval">
            <process-engine>default</process-engine>
            <properties>
              <property name="isDeleteUponUndeploy">false</property>
              <property name="isScanForProcessDefinitions">true</property>
               <property name="resourceRootPath">bpmn</property>
            </properties>
          </process-archive>
        
        </process-application>
        
      • Build the application
      • Started the application via java -jar <name-of-jar>
      • Went to Cockpit->Deployments. I do not not see foo.bpmn in the deployments page
      • During application start up, noticed following in the log.
        2020-07-07 15:17:05.613  INFO 2024 --- [           main] org.camunda.bpm.container                : ENGINE-08024 Found processes.xml file at jar:file:/Users/garima.yadav/eclipse-workspace/sampleproject3/target/sampleproject3.jar!/META-INF/processes.xml
        2020-07-07 15:17:05.702  INFO 2024 --- [           main] org.camunda.bpm.container                : ENGINE-08021 Not creating a deployment for process archive 'camundaApplication': no resources provided.
        2020-07-07 15:17:05.707  INFO 2024 --- [           main] org.camunda.bpm.container                : ENGINE-08050 Process application camundaApplication successfully deployed
        
      • The log statement "Not creating a deployment for process archive 'camundaApplication': no resources provided" tells us that engine actually did not deploy the resources.

      Actual Behaviour
      The BPMN processes placed in "bpmn" folder does not get deployed

      Expected Behaviour
      The BPMN processes placed in "bpmn" folder should get deployed

            Assignee:
            Unassigned
            Reporter:
            Garima Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: