Hi at all,
I have a Springboot Application that starts the camunda web app and loads a bpmn in it.
Locally everything worked fine, but when I deployed it to Jenkins, the process was not loaded in the cockpit anymore.
Does anybody have an idea on this?
Thank you
I finally solved the issue. Two things were going wrong:
-
I forgot to add extends SpringBootProcessApplication in the Main class. Now it looks the following:
@SpringBootApplication
@ProcessApplication(“Example”)
public class ExampleApplication extends SpringBootProcessApplication{public static void main(String[] args){ SpringApplication.run(ExampleApplication.class); }
}
-
I used an empty process.xml in my META-INF folder. However I added the bpmn in the standard process.xml and my issue was solved. My process.xml looks now the following:
<process-application xmlns="http://www.camunda.org/schema/1.0/ProcessApplication" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <process-archive> <resource>bpmn/example.bpmn</resource> <properties> <property name="isDeleteUponUndeploy">false</property> <property name="isScanForProcessDefinitions">true</property> </properties> </process-archive> </process-application>
I hope this helps anybody else
1 Like
Thanks for posting your solution.
1 Like