Deployed Process Not Showing up in Cockpit

Hi Team,

I created a bpmn and used the tutorial listed in the camunda docs page to create a trial version of a process setup. The catalina logs for the process says that the app is successfully deployed . But it does not show up in the cockpit.

Some help would be much appreciated.

Thanks,
SM

Hi @Sayan,

does your .war-file contain any .bpmn-files?

I am not sure what you mean by that.
I copied the bpmn diagram to the META_INF folder in the src/main/resources file.
Also I have deplyed the maven installation and created .war file.

@Sayan

are you following this tutorial?

So the file “processes.xml” is the file that belongs in the folder “src/main/resources/META_INF”. The next thing you need to have, is a .bpmn-file with your process (e.g.: myProcess.bpmn). This file can be placed in the folder “src/main/resources”.
Then you need to create a .war-file of this project and place it inside the webapps-folder of your Tomcat.
And when you open up cockpit, then you should be able to see the process, you defined in the file myProcess.bpmn.

Regards
Michael

@MichiDahm

Yes I am following this tutorial itself.
I have done all the steps you have mentioned. But I am not able to get the process in the cockpit.

I can show the directory structure of the Maven project.

Camunda_problem2

Regards,
Sayan

And yes, the processes.xml exists within the META_INF folder.

@Sayan

Your project-folder is marked wih a red cross. This should not be the case and means there is something wrong with your project.

Can you share your pom-file and your bpmn-file?

Uploading the bpmn file would also help to see if there’s an issue there.

@Sayan

Ok your process allready looks quite big and complex.
You should definetly start out with the basic example process from the tutorial and see if you can get this one running. Afterwards you can extend this process until it matches your use case.

With a quick look over your .bpmn-file:
You marked the task “Approve Process” as Multi Instance but did not set any loop variables. That definetly is an issue which leads to the point, that Camunda does not deploy your process. Furthermore you should use start- and end events in your subprocess. And all the tasks in your process should be combined with sequence flows, otherwise they do not make any sense. And for simple processes to get your hands on the engine you should try to start your process with a blank start event and not with a signal start event.

My advice is to model the process from the getting started tutorial and see, if you can display that one in the cockpit.

Regards
Michael

@MichiDahm

Thats a fair point, I will try that out.

i have similar problem as @Sayan i have created two .bpmn files and when copy/pasted the .war in the localhost server camunda cockpit isn’t showing the processes when i tried with new project and that worked what might be the problem with that file. i created the project with reference to 8th video of @Niall on BPMN (title: Error Handling )

Hi Surya,

Can you give more details about exactly what you’ve created and exactly what is going wrong?

Hi @Niall,
Thanks for the reply , from your video series on getting started on camunda there is a tutorial on “Error handling” (8 Tutorial Error Handling ) I have cloned the project from the github link you provided in the video. I generated a .war as instructed and copy/pasted the .war file ( 3:45 on the video) in my localhost server(tomcat). According to the tutorial this should show BER.bpmn and BER-Build.bpmn processes on the cockpit, but i could not see any process with this name on my cockpit.

https://www.youtube.com/watch?v=IR3eUDVpc_w&list=PLJG25HlmvsOUnCziyJBWzcNh7RM5quTmv&index=9

Do you see anything at all in cockpit?
Can you see any errors in the log?

  1. I can see all my previous process.
  2. Since, Build was success, I did not see any failure or error

What version of Camunda are you running, what database are you using and how do you normally deploy the processes that you current have?

  1. I am using camunda modeler 4.0 and tomcat-7.13(latest version download from the camunda.com/download).

  2. Database that comes with tomcat(Default).

  3. Since, I am new to this tool I followed the same procedure as in the tutorial. some process deployed directly from camunda-modeler(using deploy button) and some process by copy/pasting .war files generated in eclipse.