ENGINE-09005 Could not parse BPMN process.

3,749 views
Skip to first unread message

saim...@gmail.com

unread,
Feb 9, 2016, 6:28:23 AM2/9/16
to camunda BPM users, sauvi...@gmail.com
We tried to develop our first application using Java EE 6 following the tutorial give in https://docs.camunda.org/get-started/javaee6. In the "JSF Start Form" after performing Maven build and deploying it in JBoss AS, we don't get to see the pizza order process in our tasklist. We are getting the following error in our log file "ENGINE-09005 Could not parse BPMN process". Please help.

thorben....@camunda.com

unread,
Feb 9, 2016, 6:41:24 AM2/9/16
to camunda BPM users, sauvi...@gmail.com, saim...@gmail.com
Hi,

Please post the entire exception message and stacktrace that you can find in the JBoss logs.

Best regards,
Thorben

saim...@gmail.com

unread,
Feb 9, 2016, 6:48:45 AM2/9/16
to camunda BPM users, sauvi...@gmail.com, saim...@gmail.com
On Tuesday, February 9, 2016 at 5:28:23 PM UTC+6, saim...@gmail.com wrote:
> We tried to develop our first application using Java EE 6 following the tutorial give in https://docs.camunda.org/get-started/javaee6. In the "JSF Start Form" after performing Maven build and deploying it in JBoss AS, we don't get to see the pizza order process in our tasklist. We are getting the following error in our log file "ENGINE-09005 Could not parse BPMN process". Please help.

15:32:49,601 ERROR [org.camunda.bpm.engine.context] (ServerService Thread Pool -- 50) ENGINE-16004 Exception while closing command context: ENGINE-09005 Could not parse BPMN process. Errors:
* One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on serviceTask. | pizza-order.bpmn | line 41 | column 76: org.camunda.bpm.engine.ProcessEngineException: ENGINE-09005 Could not parse BPMN process. Errors:
* One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on serviceTask. | pizza-order.bpmn | line 41 | column 76
at org.camunda.bpm.engine.impl.util.EngineUtilLogger.exceptionDuringParsing(EngineUtilLogger.java:58) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.util.xml.Parse.throwExceptionForErrors(Parse.java:191) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:305) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.bpmn.deployer.BpmnDeployer.transformDefinitions(BpmnDeployer.java:100) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.transformResource(AbstractDefinitionDeployer.java:91) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.parseDefinitionResources(AbstractDefinitionDeployer.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.deploy(AbstractDefinitionDeployer.java:56) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache$1.call(DeploymentCache.java:69) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache$1.call(DeploymentCache.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContext.runWithoutAuthorization(CommandContext.java:553) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:52) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.deploy(DeployCmd.java:470) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd$1.call(DeployCmd.java:137) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd$1.call(DeployCmd.java:126) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContext.runWithoutAuthorization(CommandContext.java:553) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.doExecute(DeployCmd.java:126) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:93) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:75) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:95) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:58) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:92) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:207) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl.deploy(ProcessApplicationDeploymentBuilderImpl.java:59) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$3.run(ProcessApplicationDeploymentService.java:168)
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$3.run(ProcessApplicationDeploymentService.java:165)
at org.camunda.bpm.container.impl.jboss.util.Tccl.runWithTccl(Tccl.java:53)
at org.camunda.bpm.container.impl.jboss.util.Tccl.runUnderClassloader(Tccl.java:45)
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService.performDeployment(ProcessApplicationDeploymentService.java:165)
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$1.run(ProcessApplicationDeploymentService.java:88)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_11]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

15:32:49,621 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 50) MSC00001: Failed to start service org.camunda.bpm.platform.process-application-module."pizza-order.war".DEPLOY.pizza-order: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.process-application-module."pizza-order.war".DEPLOY.pizza-order: Could not register process application with shared process engine
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService.performDeployment(ProcessApplicationDeploymentService.java:179) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$1.run(ProcessApplicationDeploymentService.java:88) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_11]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_11]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-09005 Could not parse BPMN process. Errors:
* One of the attributes 'class', 'delegateExpression', 'type', or 'expression' is mandatory on serviceTask. | pizza-order.bpmn | line 41 | column 76
at org.camunda.bpm.engine.impl.util.EngineUtilLogger.exceptionDuringParsing(EngineUtilLogger.java:58) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.util.xml.Parse.throwExceptionForErrors(Parse.java:191) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:305) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.bpmn.deployer.BpmnDeployer.transformDefinitions(BpmnDeployer.java:100) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.transformResource(AbstractDefinitionDeployer.java:91) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.parseDefinitionResources(AbstractDefinitionDeployer.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.AbstractDefinitionDeployer.deploy(AbstractDefinitionDeployer.java:56) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache$1.call(DeploymentCache.java:69) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache$1.call(DeploymentCache.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContext.runWithoutAuthorization(CommandContext.java:553) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:66) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:52) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.deploy(DeployCmd.java:470) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd$1.call(DeployCmd.java:137) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd$1.call(DeployCmd.java:126) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContext.runWithoutAuthorization(CommandContext.java:553) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.doExecute(DeployCmd.java:126) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:93) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:75) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:95) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:58) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:92) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:207) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl.deploy(ProcessApplicationDeploymentBuilderImpl.java:59) [camunda-engine-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$3.run(ProcessApplicationDeploymentService.java:168) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService$3.run(ProcessApplicationDeploymentService.java:165) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.util.Tccl.runWithTccl(Tccl.java:53) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.util.Tccl.runUnderClassloader(Tccl.java:45) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
at org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService.performDeployment(ProcessApplicationDeploymentService.java:165) [camunda-jboss-subsystem-7.4.0.jar:7.4.0]
... 8 more

15:32:51,246 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "pizza-order.war" (runtime-name : "pizza-order.war")
15:32:51,251 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-welcome.war" (runtime-name : "camunda-welcome.war")
15:32:51,252 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-webapp-jboss-7.4.0.war" (runtime-name : "camunda-webapp-jboss-7.4.0.war")
15:32:51,254 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-h2-webapp-7.4.0.war" (runtime-name : "camunda-h2-webapp-7.4.0.war")
15:32:51,255 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-example-invoice-7.4.0.war" (runtime-name : "camunda-example-invoice-7.4.0.war")
15:32:51,257 INFO [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-engine-rest-7.4.0.war" (runtime-name : "camunda-engine-rest-7.4.0.war")
15:32:51,287 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service org.camunda.bpm.platform.process-application-module."pizza-order.war".DEPLOY.pizza-order: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.process-application-module."pizza-order.war".DEPLOY.pizza-order: Could not register process application with shared process engine

Sebastian Menski

unread,
Feb 9, 2016, 6:56:37 AM2/9/16
to camunda BPM users, sauvi...@gmail.com, saim...@gmail.com
Hi,

did you followed these instructions [1]:

Additionally, you have to configure some placeholder expressions for the service tasks and the conditional sequence flows. Otherwise, you wouldn’t be able to deploy this process on the process engine. Please set the Expression property of both service tasks to ${true}. Also set the Condition property of the sequence flows after the exclusive gateway to ${true}, respectively ${false}.

The service tasks need some sort of implementation. In the first prototype they will execute placeholder expressions.

Cheers,
Sebastian

Saimul Haque

unread,
Feb 9, 2016, 7:03:26 AM2/9/16
to Sebastian Menski, camunda BPM users, sauvi...@gmail.com
yes we have already done that! in fact we did everything following the tutorial! also we downloaded step4 source zip file and tried with it but the same error remains..

Sebastian Menski

unread,
Feb 9, 2016, 7:06:23 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
Hi,

which version of the Camunda BPM distro are you using. The BPMN files generated by the new modeler which is used in the tutorial
are only compatible with >= 7.4.0 [1].

Cheers,
Sebastian

Message has been deleted

saim...@gmail.com

unread,
Feb 9, 2016, 7:10:08 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
we are using camunda modeler 7.4.0

Sebastian Menski

unread,
Feb 9, 2016, 7:13:40 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
Hi,

with distro I meant the Camunda version you downloaded to execute the process like the tomcat or jboss distro. The modeler is not part of this distro. So which
of this are you using and if this has the 7.4.0 version than please attach your bpmn xml file. The files downloaded from github work on Camunda 7.4.0.

Cheers,
Sebastian

saim...@gmail.com

unread,
Feb 9, 2016, 7:20:40 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
we are using camunda-bpm-jboss-7.4.0! even we used camunda tomcat 7.4.0 but nope didn't work!

here is our bpmn file:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
<bpmn:process id="orderPizza" name="Order Pizza" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Order received" camunda:formKey="app:placeorder.jsf">
<bpmn:outgoing>SequenceFlow_06atmu2</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="SequenceFlow_06atmu2" sourceRef="StartEvent_1" targetRef="ServiceTask_0lrmoed" />
<bpmn:serviceTask id="ServiceTask_0lrmoed" name="Persist Order" camunda:expression="${true}">
<bpmn:incoming>SequenceFlow_06atmu2</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_08ax6yk</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="SequenceFlow_08ax6yk" sourceRef="ServiceTask_0lrmoed" targetRef="UserTask_0b3v36h" />
<bpmn:userTask id="UserTask_0b3v36h" name="Approve Order">
<bpmn:incoming>SequenceFlow_08ax6yk</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_14w7jxd</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="ExclusiveGateway_07926wc" name="Order approved?">
<bpmn:incoming>SequenceFlow_14w7jxd</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_10r7cva</bpmn:outgoing>
<bpmn:outgoing>SequenceFlow_0md4bjf</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="SequenceFlow_14w7jxd" sourceRef="UserTask_0b3v36h" targetRef="ExclusiveGateway_07926wc" />
<bpmn:sequenceFlow id="SequenceFlow_10r7cva" name="Yes" sourceRef="ExclusiveGateway_07926wc" targetRef="UserTask_19diw18">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${true}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="EndEvent_1ccb1zj" name="Pizza prepared">
<bpmn:incoming>SequenceFlow_1mcsbs4</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_1mcsbs4" sourceRef="UserTask_19diw18" targetRef="EndEvent_1ccb1zj" />
<bpmn:sequenceFlow id="SequenceFlow_0md4bjf" name="No" sourceRef="ExclusiveGateway_07926wc" targetRef="ServiceTask_1w32ybd">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="UserTask_19diw18" name="Prepare Pizza">
<bpmn:incoming>SequenceFlow_10r7cva</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_1mcsbs4</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="EndEvent_064cd62" name="Order rejected">
<bpmn:incoming>SequenceFlow_0yiiw0c</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="SequenceFlow_0yiiw0c" sourceRef="ServiceTask_1w32ybd" targetRef="EndEvent_064cd62" />
<bpmn:serviceTask id="ServiceTask_1w32ybd" name="Send Rejection Email">
<bpmn:incoming>SequenceFlow_0md4bjf</bpmn:incoming>
<bpmn:outgoing>SequenceFlow_0yiiw0c</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="orderPizza">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="120" y="103" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="93" y="139" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_06atmu2_di" bpmnElement="SequenceFlow_06atmu2">
<di:waypoint xsi:type="dc:Point" x="156" y="121" />
<di:waypoint xsi:type="dc:Point" x="224" y="121" />
<bpmndi:BPMNLabel>
<dc:Bounds x="145" y="111" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_0lrmoed_di" bpmnElement="ServiceTask_0lrmoed">
<dc:Bounds x="223.579" y="81" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_08ax6yk_di" bpmnElement="SequenceFlow_08ax6yk">
<di:waypoint xsi:type="dc:Point" x="324" y="121" />
<di:waypoint xsi:type="dc:Point" x="393" y="121" />
<bpmndi:BPMNLabel>
<dc:Bounds x="313.5" y="111" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_0b3v36h_di" bpmnElement="UserTask_0b3v36h">
<dc:Bounds x="392.579" y="81" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExclusiveGateway_07926wc_di" bpmnElement="ExclusiveGateway_07926wc" isMarkerVisible="true">
<dc:Bounds x="551.579" y="96" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="531.579" y="75" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_14w7jxd_di" bpmnElement="SequenceFlow_14w7jxd">
<di:waypoint xsi:type="dc:Point" x="493" y="121" />
<di:waypoint xsi:type="dc:Point" x="552" y="121" />
<bpmndi:BPMNLabel>
<dc:Bounds x="477.5" y="111" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_10r7cva_di" bpmnElement="SequenceFlow_10r7cva">
<di:waypoint xsi:type="dc:Point" x="602" y="121" />
<di:waypoint xsi:type="dc:Point" x="683" y="121" />
<bpmndi:BPMNLabel>
<dc:Bounds x="593.5" y="98" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="EndEvent_1ccb1zj_di" bpmnElement="EndEvent_1ccb1zj">
<dc:Bounds x="854.153" y="103" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="827.153" y="139" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_1mcsbs4_di" bpmnElement="SequenceFlow_1mcsbs4">
<di:waypoint xsi:type="dc:Point" x="783" y="121" />
<di:waypoint xsi:type="dc:Point" x="854" y="121" />
<bpmndi:BPMNLabel>
<dc:Bounds x="773.5" y="111" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="SequenceFlow_0md4bjf_di" bpmnElement="SequenceFlow_0md4bjf">
<di:waypoint xsi:type="dc:Point" x="577" y="146" />
<di:waypoint xsi:type="dc:Point" x="577" y="262" />
<di:waypoint xsi:type="dc:Point" x="683" y="262" />
<bpmndi:BPMNLabel>
<dc:Bounds x="514" y="196" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="UserTask_19diw18_di" bpmnElement="UserTask_19diw18">
<dc:Bounds x="682.579" y="81" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_064cd62_di" bpmnElement="EndEvent_064cd62">
<dc:Bounds x="854" y="244" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="827" y="280" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0yiiw0c_di" bpmnElement="SequenceFlow_0yiiw0c">
<di:waypoint xsi:type="dc:Point" x="783" y="262" />
<di:waypoint xsi:type="dc:Point" x="854" y="262" />
<bpmndi:BPMNLabel>
<dc:Bounds x="773.5" y="252" width="90" height="20" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="ServiceTask_1w32ybd_di" bpmnElement="ServiceTask_1w32ybd">
<dc:Bounds x="683" y="222" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

saim...@gmail.com

unread,
Feb 9, 2016, 7:28:31 AM2/9/16
to camunda BPM users, sauvi...@gmail.com, saim...@gmail.com
the given log was for jboss AS

Sebastian Menski

unread,
Feb 9, 2016, 7:28:33 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
Hi,

 <bpmn:serviceTask id="ServiceTask_1w32ybd" name="Send Rejection Email">
      <bpmn:incoming>SequenceFlow_0md4bjf</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0yiiw0c</bpmn:outgoing>
 </bpmn:serviceTask>

this service task has no expression. It seems you only added it to one of them.

Cheers,
Sebastian

Anik Bhowmik

unread,
Feb 9, 2016, 7:52:15 AM2/9/16
to Sebastian Menski, camunda BPM users, saim...@gmail.com
This is the latest error we have got:

18:45:23,092 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "pizza-order.war" (runtime-name: "pizza-order.war")
18:45:23,092 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "camunda-engine-rest-7.4.0.war" (runtime-name: "camunda-engine-rest-7.4.0.war")
18:45:23,091 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory D:\camunda-bpm-jboss-7.4.0\server\jboss-as-7.2.0.Final\standalone\deployments
18:45:23,090 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "camunda-example-invoice-7.4.0.war" (runtime-name: "camunda-example-invoice-7.4.0.war")
18:45:23,120 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on 127.0.0.1:9999
18:45:23,120 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on 127.0.0.1:4447
18:45:23,429 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
18:45:23,466 INFO  [org.camunda.bpm.container.impl.jboss.deployment.processor.ProcessApplicationProcessor] (MSC service thread 1-6) Detected user-provided @ProcessApplication component with name 'org.camunda.bpm.example.invoice.InvoiceProcessApplication'.
18:45:23,471 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ProcessEngine]
18:45:23,488 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."pizza-order.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."pizza-order.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "pizza-order.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/D:/camunda-bpm-jboss-7.4.0/server/jboss-as-7.2.0.Final/bin/content/pizza-order.war/WEB-INF/web.xml" at [1,0]
    at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:116)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final.jar:7.2.0.Final]
    ... 5 more
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0]
    at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
    at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2104)
    at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2010)
    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1102)
    at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:67)
    at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:55)
    at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:91)
    ... 6 more

18:45:23,656 INFO  [org.camunda.bpm.engine.cfg] (ServerService Thread Pool -- 50) ENGINE-12003 Plugin 'ProcessApplicationEventListenerPlugin' activated on process engine 'default'
18:45:23,901 INFO  [org.camunda.bpm.engine.cfg] (ServerService Thread Pool -- 50) ENGINE-12003 Plugin 'SpinProcessEnginePlugin' activated on process engine 'default'
18:45:23,936 INFO  [org.jboss.web] (ServerService Thread Pool -- 53) JBAS018210: Register web context: /camunda-welcome
18:45:23,941 INFO  [org.jboss.web] (ServerService Thread Pool -- 52) JBAS018210: Register web context: /h2
18:45:23,977 INFO  [org.camunda.spin] (ServerService Thread Pool -- 50) SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatProvider[name = application/json]
18:45:24,320 INFO  [org.camunda.spin] (ServerService Thread Pool -- 50) SPIN-01010 Discovered Spin data format provider: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatProvider[name = application/xml]
18:45:24,555 INFO  [org.camunda.spin] (ServerService Thread Pool -- 50) SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.xml.dom.format.DomXmlDataFormat[name = application/xml]
18:45:24,555 INFO  [org.camunda.spin] (ServerService Thread Pool -- 50) SPIN-01009 Discovered Spin data format: org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormat[name = application/json]
18:45:24,556 INFO  [org.camunda.bpm.engine.cfg] (ServerService Thread Pool -- 50) ENGINE-12003 Plugin 'ConnectProcessEnginePlugin' activated on process engine 'default'
18:45:24,941 INFO  [org.jboss.web] (ServerService Thread Pool -- 53) JBAS018210: Register web context: /camunda-invoice
18:45:24,941 INFO  [org.jboss.web] (ServerService Thread Pool -- 52) JBAS018210: Register web context: /engine-rest
18:45:24,957 INFO  [org.camunda.bpm.application] (ServerService Thread Pool -- 53) ENGINE-07015 Detected @ProcessApplication class 'org.camunda.bpm.example.invoice.InvoiceProcessApplication'
18:45:24,971 INFO  [org.jboss.web] (ServerService Thread Pool -- 52) JBAS018210: Register web context: /camunda
18:45:25,156 INFO  [org.camunda.bpm.connect] (ServerService Thread Pool -- 50) CNCT-01004 Discovered provider for connector id 'http-connector' and class 'org.camunda.connect.httpclient.impl.HttpConnectorImpl': 'org.camunda.connect.httpclient.impl.HttpConnectorProviderImpl'
18:45:25,173 INFO  [org.camunda.bpm.connect] (ServerService Thread Pool -- 50) CNCT-01004 Discovered provider for connector id 'soap-http-connector' and class 'org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorImpl': 'org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorProviderImpl'
18:45:30,609 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.engine.sql'
18:45:30,638 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.history.sql'
18:45:30,652 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'identity' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.identity.sql'
18:45:30,677 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'case.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.engine.sql'
18:45:30,686 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'case.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.history.sql'
18:45:30,692 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'decision.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.engine.sql'
18:45:30,704 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03016 Performing database operation 'create' on component 'decision.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.history.sql'
18:45:30,732 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03067 No history level property found in database
18:45:30,735 INFO  [org.camunda.bpm.engine.persistence] (ServerService Thread Pool -- 50) ENGINE-03065 Creating historyLevel property in database for level: HistoryLevelFull(name=full, id=3)
18:45:30,743 INFO  [org.camunda.bpm.engine] (ServerService Thread Pool -- 50) ENGINE-00001 Process Engine default created.
18:45:30,745 INFO  [org.camunda.bpm.engine.jobexecutor] (ServerService Thread Pool -- 50) ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.container.impl.jboss.service.MscRuntimeContainerJobExecutor].
18:45:30,828 INFO  [org.camunda.bpm.engine.jobexecutor] (job-executor-tp-threads - 1) ENGINE-14018 JobExecutor[org.camunda.bpm.container.impl.jboss.service.MscRuntimeContainerJobExecutor] starting to acquire jobs
18:45:30,829 INFO  [org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine] (ServerService Thread Pool -- 50) jndi binding for process engine default is java:global/camunda-bpm-platform/process-engine/default
18:45:30,834 INFO  [org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService] (ServerService Thread Pool -- 50) Deployment summary for process archive 'camunda-invoice' of process application 'camunda-invoice':

        invoice.bpmn
        assign-approver-groups.dmn
        invoice.png

18:45:31,491 INFO  [org.camunda.bpm.example.invoice.DemoDataGenerator] (MSC service thread 1-8) Generating demo data for invoice showcase
18:45:32,348 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "pizza-order.war" (runtime-name : "pizza-order.war")
18:45:32,349 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-welcome.war" (runtime-name : "camunda-welcome.war")
18:45:32,350 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-webapp-jboss-7.4.0.war" (runtime-name : "camunda-webapp-jboss-7.4.0.war")
18:45:32,352 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-h2-webapp-7.4.0.war" (runtime-name : "camunda-h2-webapp-7.4.0.war")
18:45:32,353 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-example-invoice-7.4.0.war" (runtime-name : "camunda-example-invoice-7.4.0.war")
18:45:32,354 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "camunda-engine-rest-7.4.0.war" (runtime-name : "camunda-engine-rest-7.4.0.war")
18:45:32,356 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."pizza-order.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."pizza-order.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "pizza-order.war"

18:45:32,389 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
18:45:32,391 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
18:45:32,391 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.2.0.Final "Janus" started (with errors) in 14691ms - Started 368 of 439 services (1 services failed or missing dependencies, 68 services are passive or on-demand)

Sebastian Menski

unread,
Feb 9, 2016, 9:23:42 AM2/9/16
to camunda BPM users, sebastia...@camunda.com, saim...@gmail.com, sauvi...@gmail.com
Hi,

it seems that the WEB-INF/web.xml file of your war is corrupt. Did you add one by yourself? The guide doesn't use a web.xml.

Cheers,
Sebastian

Saimul Haque

unread,
Feb 9, 2016, 11:27:45 PM2/9/16
to camunda BPM users, Sebastian Menski, sauvi...@gmail.com
when we delete the web.xml then we get a maven configuration error in eclipse "web.xml is missing and <failOnMissingWebXml> is set to true". That's we added an empty web.xml inside WEB-INF.

--
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/camunda-bpm-users/Bk47HICwdrk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/b35a2919-cf71-4746-9594-e6370d429bb8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Saimul Haque

unread,
Feb 10, 2016, 12:55:32 AM2/10/16
to camunda BPM users, Sebastian Menski, Anik Bhowmik
thanks for your help! finally did some minor changes and its working!

Sebastian Menski

unread,
Feb 10, 2016, 1:44:32 AM2/10/16
to camunda BPM users, sebastia...@camunda.com, sauvi...@gmail.com, saim...@gmail.com
Hi,

you can disable the empty web.xml error as describe in the tutorial [1] by adding this configuration to your pom.xml:

<build>
   
<finalName>pizza-order</finalName>
   
<plugins>
     
<plugin>
       
<groupId>org.apache.maven.plugins</groupId>
       
<artifactId>maven-war-plugin</artifactId>
       
<version>2.3</version>
       
<configuration>
         
<failOnMissingWebXml>false</failOnMissingWebXml>
       
</configuration>
     
</plugin>
   
</plugins>
 
</build>

Cheers,
Sebastian

Reply all
Reply to author
Forward
0 new messages