Hi, I created a spring application and I added relevant camunda dependencies to the pom file. Then i started the application and i checked whether the app is working by calling this api from postman → http://localhost:8080/rest/engine
and it respond with this “name”: “default” which means that camunda is working fine.
Then this api post call gives response status code of 200 which means that it started successfully.
My problem is when i go to the camunda cockpit using camunda stater script (i stopped the springboot application and started the camunda using start script), it wont show my deployment. Where can i see my deployment ?
in my spring boot application i dont have a resource/META-INF folder.
I add this camunda for an existing spring boot application. For this i added below dependency to my pom and that only i did. I’m using camunda REST API.
This is again the same issue using different DB’s (One from Spring boot and other for Camunda Script).
If you need cockpit add camunda webapp dependency in spring Boot.
what should i add for this. Is there a specific version for that? i’m using camunda-bpm-spring-boot-starter-rest 3.2.0 version. What version of webapp should i use with this version ?
What should i do after this. Do i need to stop my web app and start the cmaunda using starter app and see the deployments is in the cockpit or is there any other way that i can see the cockpit?
This dependency will run an Camunda Embedded engine with support of WebApps like cockpit, tasklist, etc. You don’t have to run the camunda server separately using script.
okay, thanks a lot for the answer. I have another question,
We cant use both “camunda-bpm-spring-boot-starter-webapp” and “camunda-bpm-spring-boot-starter-rest” together right ?
Because when i tried to do that it gave me an error.
I removed “camunda-bpm-spring-boot-starter-rest” and i kept only the “camunda-bpm-spring-boot-starter-webapp” dependency. Then my rest didnt work. (i tried ‘http://localhost:8080/rest/engine’ api and it gave me 404 error) That mean i need starter rest to call rest apis. Is that correct ?
If so, how can i see the deployed BPMs using my spring application in the camunda cockpit ?
The only reason i tried to add “camunda-bpm-spring-boot-starter-webapp” is to see deployed BPMs in my cockpit using spring boot application. This was the answer (adding camunda webapp as dependency) that suggested in the forum.
Correct the classpath of your application so that it contains a single, compatible version of org.camunda.bpm.spring.boot.starter.property.WebappProperty
thank you for the reply @Ingo_Richtsmeier, My spring boot version is 2.1.9.RELEASE. Just like mentioned in that page, i added <version>3.3.1</version> of camunda-bpm-spring-boot-starter. But then i got this error saying “Missing artifact org.camunda.bpm.extension.springboot:camunda-bpm-spring-boot-starter:jar:3.3.1”
I even updated the pom.xml. But i still have that issue. What may be the problem ?