AnsweredAssumed Answered

How to deploy Modeler-generated BPMN to activiti

Question asked by jjfd on Mar 18, 2011
Latest reply on Mar 22, 2011 by frederikheremans1
Hi everyone and I'm a newbie to activiti.
I use activiti-modeler on tomcat to create a very simple BPMN.
its bpmn20.xml is like:

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-8473055e-0e76-4ff5-b3a5-864429ff2301" targetNamespace="http://www.signavio.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
   <process id="sid-f8d11382-4738-42b1-9f8b-ea48de0f4355" isExecutable="false">
      <startEvent id="sid-E7F371DB-9850-4319-907C-F737B0C3A79E" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <outgoing>sid-DC7892F7-1EEC-40A3-8E8A-0042311C8858</outgoing>
      </startEvent>
      <userTask completionQuantity="1" id="sid-50AC44E8-43A5-45AD-9A00-991C025F9D7E" implementation="webService" isForCompensation="false" name="Ope" startQuantity="1">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
         </extensionElements>
         <incoming>sid-DC7892F7-1EEC-40A3-8E8A-0042311C8858</incoming>
         <outgoing>sid-2A81E1E7-A092-4B6B-A00E-173D35F37FFC</outgoing>
      </userTask>
      <endEvent id="sid-7BDF9812-7DE5-45C4-843C-5ADB0561413F" name="">
         <extensionElements>
            <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
         </extensionElements>
         <incoming>sid-2A81E1E7-A092-4B6B-A00E-173D35F37FFC</incoming>
      </endEvent>
      <sequenceFlow id="sid-DC7892F7-1EEC-40A3-8E8A-0042311C8858" name="" sourceRef="sid-E7F371DB-9850-4319-907C-F737B0C3A79E" targetRef="sid-50AC44E8-43A5-45AD-9A00-991C025F9D7E"/>
      <sequenceFlow id="sid-2A81E1E7-A092-4B6B-A00E-173D35F37FFC" name="" sourceRef="sid-50AC44E8-43A5-45AD-9A00-991C025F9D7E" targetRef="sid-7BDF9812-7DE5-45C4-843C-5ADB0561413F"/>
   </process>
   <bpmndi:BPMNDiagram id="sid-d6bf55dd-6250-4e5c-a32d-600b46ed71a7">
      <bpmndi:BPMNPlane bpmnElement="sid-f8d11382-4738-42b1-9f8b-ea48de0f4355" id="sid-64b6a26f-211f-476d-a8dc-e77526a5c86f">
         <bpmndi:BPMNShape bpmnElement="sid-E7F371DB-9850-4319-907C-F737B0C3A79E" id="sid-E7F371DB-9850-4319-907C-F737B0C3A79E_gui">
            <omgdc:Bounds height="30.0" width="30.0" x="135.0" y="260.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-50AC44E8-43A5-45AD-9A00-991C025F9D7E" id="sid-50AC44E8-43A5-45AD-9A00-991C025F9D7E_gui">
            <omgdc:Bounds height="80.0" width="100.0" x="260.0" y="235.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape bpmnElement="sid-7BDF9812-7DE5-45C4-843C-5ADB0561413F" id="sid-7BDF9812-7DE5-45C4-843C-5ADB0561413F_gui">
            <omgdc:Bounds height="28.0" width="28.0" x="447.0" y="261.0"/>
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge bpmnElement="sid-2A81E1E7-A092-4B6B-A00E-173D35F37FFC" id="sid-2A81E1E7-A092-4B6B-A00E-173D35F37FFC_gui">
            <omgdi:waypoint x="360.0" y="275.0"/>
            <omgdi:waypoint x="447.0" y="275.0"/>
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge bpmnElement="sid-DC7892F7-1EEC-40A3-8E8A-0042311C8858" id="sid-DC7892F7-1EEC-40A3-8E8A-0042311C8858_gui">
            <omgdi:waypoint x="165.0" y="275.0"/>
            <omgdi:waypoint x="260.0" y="275.0"/>
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</definitions>

I can upload this file to activiti through probe. and I can start the process through explorer.
But after that when i use probe to check the process instances and the page gives Web Script Status 500 - Internal Error
in database, there is no record of the started instance…

I wonder how to fix this. I cannot deploy and run a self-generated BPMN to activiti through web pages?
Thanks a lot!

Outcomes