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.
- 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
- I have an empty class with @ProcessApplication annotation.
- My project structure is also correct as per the solutions of other posts.(Tried a number of times to upload the screenshot, not working)
- 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
- 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