Process not showing on cockpit

Hi,

I know it might sound very familiar as I have also seen a number of posts regarding this issue but unfortunately I already have the solutions mentioned in those posts, in my project. So I’m just listing down what I did and the probable fixes that I found online.

I created an application to test “mail-poll” functionality, it works from junit and downloads the attachments in a folder inside my project.
When I deployed my war file, there is no error at all.

  1. Tomcat log says the deployment is successful.

camunda-bpm-ee-tomcat-7.8.1-ee\server\apache-tomcat-8.0.47\webapps\camunda_poc-0.0.1-SNAPSHOT.war
19-Feb-2018 16:56:44.711 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07015 Detected @ProcessApplication class ‘com.mail.example.MailProcessApplication’
19-Feb-2018 16:56:44.803 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
19-Feb-2018 16:56:44.861 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08024 Found processes.xml file at file:/C:/Camunda%20POC/camunda-bpm-ee-tomcat-7.8.1-ee/server/apache-tomcat-8.0.47/webapps/camunda_poc-0.0.1-SNAPSHOT/WEB-INF/classes/META-INF/processes.xml
19-Feb-2018 16:56:44.910 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08023 Deployment summary for process archive ‘camunda-poc-1’:

    classifier.bpmn
    mail_example.bpmn

19-Feb-2018 16:56:45.129 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication ‘mail_example’ registered for DB deployments [c408b587-1567-11e8-9d6b-005056c00008]. Will execute process definitions

    pdfCase[version: 1, id: pdfCase:1:c423b79a-1567-11e8-9d6b-005056c00008]
    mail_example[version: 1, id: mail_example:1:c423b79b-1567-11e8-9d6b-005056c00008]

Deployment does not provide any case definitions.
19-Feb-2018 16:56:45.180 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider[name = application/json]
19-Feb-2018 16:56:45.196 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatProvider[name = application/xml]
19-Feb-2018 16:56:45.224 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormat[name = application/xml]
19-Feb-2018 16:56:45.224 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat[name = application/json]
19-Feb-2018 16:56:45.226 INFO [localhost-startStop-1] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08050 Process application mail_example successfully deployed

  1. I have an empty class with @ProcessApplication annotation.
  2. My project structure is also correct as per the solutions of other posts.(Tried a number of times to upload the screenshot, not working)
  3. Here is my processes.xml
<process-engine>default</process-engine>
<properties>
  <property name="resourceRootPath">classpath:processes/</property>

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

processes.xml file location inside the war is
webapps\camunda_poc-0.0.1-SNAPSHOT\WEB-INF\classes\META-INF\processes.xml

  1. Checked my Eclipse and it’s pointed to JDK, not JRE.

I’m out of clue what exactly I’m missing and why my process is not showing on cockpit.

Thanks,
Sayanti

Hi Sayanti,

To clarify you are not able to see the deployment, right?
Did you try request it via Rest? (query)

Best regards,
Yana

Hi Yana,

Yeah I’m not able to see the deployed process on the cockpit.
I tried calling it from REST and it works.

Url : http://localhost:8080/engine-rest/deployment?name=mail_example
Response : [
{
“links”: ,
“id”: “214974b5-1247-11e8-9f2b-005056c00008”,
“name”: “mail_example”,
“source”: “process application”,
“deploymentTime”: “2018-02-15T17:25:34.501+0530”,
“tenantId”: null
}
]

Thanks,
Sayanti

Hi Sayanti,

Where do you check for the deployment - here?

If you are using the Enterprise edition of Camunda BPM, you can also raise a support ticket for this request if you like and we will look into it in the scope of our product support.

Best regards,
Yana

Hi Yana,

This is so strange. Yeah, I was checking there only, but now I can see my processes. I did no changes at all.
I don’t understand how did it come on the cockpit.
I’m using Enterprise edition only but a trial version but we are in talk with the sales team of Camunda to buy the Enterprise version.

So, now that my processes are visible on cockpit, I tried to start the process.
But getting "No connector found for connector id “mail-poll”.

Thanks,
Sayanti