Bpmn processes not getting loaded

We have an application app1.jar with multiple bpmn flows packaged. The processes.xml file for app1.jar in located under src/main/resources/META-INF/processes.xml

The app1.jar contains two other jars dependencies (app2.jar and app3.jar). The app2.jar and app3.jar contains its own bpmm files and processes.xml under their META-INF folder. When we deploy app1.jar, we only see bpmn processes in the cockpit. We don’t see the bpmn process flows present in other two jar dependencies (app2 and app3). Please advice what could be causing this issue?

This is our processes.xml files present in all jar files having bpmn flows

<properties>
    <property name="isDeleteUponUndeploy">false</property>
    <property name="isScanForProcessDefinitions">true</property>
</properties>

Hi @Pramod_Varda,
what do you mean by

The app1.jar contains two other jars dependencies (app2.jar and app3.jar).

? Are this jars packaged inside the 1st jar?

Svetlana

Yes, they are packaged inside the 1st jar

But how do you expect it to work? Do you define some custom classloader? Or using something like Spring Boot or similar?
If it’s a plain Java jar, than it must not work by default IMO, not only for Camunda processes, but for any classes and resources from this “sub-jars”. Or did I miss something?

We are using spring boot and running this in Docker/Kubernetes environment