6 Replies Latest reply on Sep 8, 2011 6:44 PM by Tihomir Surdilovic

    Runaround not complete

    Chris Nash Newbie

      Hi all,

       

      I'm having some trouble with complete workflow runaround.

       

      I can create a workflow in Eclipse, upload it to Guvnor, load it and modify it in the Guvnor web interface, save it back to Guvnor and load it back up in Eclipse. I can go back and forth from Eclipse to Guvnor to web as much as I want. However, if I create a workflow in the web interface, I can load it up and modify it in Eclipse, but when I try to load it up again in the web interface, it's blank.

       

      Anything you know I can try to get them to place nice with each other? Thanks!

        • 1. Re: Runaround not complete
          Tihomir Surdilovic Master

          Hi Chris, can you provide your BPMN2 of the process created in the web designer (guvnor)? When you open your process in the designer, your server logs should have some indication as far as why the parsing failed.

          1 of 1 people found this helpful
          • 2. Re: Runaround not complete
            Chris Nash Newbie

            Looking at the server log, this is what I get:

             

            2011-09-08 09:53:21,281 SEVERE [com.intalio.web.profile.impl.JbpmProfileImpl] (http-localhost%2F127.0.0.1-8080-7) Unknown root element org.eclipse.bpmn2.impl.CollaborationImpl@1a3b1f (id: _hnMC8douEeChpcAZezKhPA, anyAttribute: null) (isClosed: false, name: null)

            java.lang.UnsupportedOperationException: Unknown root element org.eclipse.bpmn2.impl.CollaborationImpl@1a3b1f (id: _hnMC8douEeChpcAZezKhPA, anyAttribute: null) (isClosed: false, name: null)

                at com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:271)

                at com.intalio.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:138)

            ...

             

            Sometimes I get this error, though:

             

            2011-09-08 09:57:42,171 ERROR [com.intalio.web.repository.impl.UUIDBasedJbpmRepository] (http-localhost%2F127.0.0.1-8080-6) Unable to connect to Gunvor. Is it running? [Read timed out]

             

            Which isn't correct (Guvnor is running) because I can load a workflow that does work right afterwards. And it never fails loading good workflows.

             

            Here is the contents of the BPMN2 file.  It just has a start node, a script task node, and an end node:

             

            <?xml version="1.0" encoding="UTF-8"?>

            <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.omg.org/spec/DD/20100524/DC http://www.omg.org/spec/DD/20100524/DC-XMI http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI-XMI http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI-XMI" id="b1ff9581-511e-45e3-8cfc-73fa18bf6a2f" name="" targetNamespace="http://www.omg.org/bpmn20">

              <bpmn2:process id="" name="" isExecutable="true">

                <bpmn2:startEvent id="_9CC61D6A-E4F9-4E40-97C4-D06B15E83D7B" name="">

                  <bpmn2:outgoing>_144E12D4-98CE-443E-9B97-39169D291DE9</bpmn2:outgoing>

                </bpmn2:startEvent>

                <bpmn2:task id="_A645FAE9-9524-4C32-8E1B-3C1A533B954E" name="DoTask">

                  <bpmn2:incoming>_144E12D4-98CE-443E-9B97-39169D291DE9</bpmn2:incoming>

                  <bpmn2:outgoing>_D5738E3A-3DA5-435B-B29D-92C609576140</bpmn2:outgoing>

                </bpmn2:task>

                <bpmn2:sequenceFlow id="_144E12D4-98CE-443E-9B97-39169D291DE9" sourceRef="_9CC61D6A-E4F9-4E40-97C4-D06B15E83D7B" targetRef="_A645FAE9-9524-4C32-8E1B-3C1A533B954E"/>

                <bpmn2:sequenceFlow id="_D5738E3A-3DA5-435B-B29D-92C609576140" sourceRef="_A645FAE9-9524-4C32-8E1B-3C1A533B954E" targetRef="_D15EAD67-192E-4A90-A944-C2D6FE1E197A"/>

                <bpmn2:endEvent id="_D15EAD67-192E-4A90-A944-C2D6FE1E197A" name="">

                  <bpmn2:incoming>_D5738E3A-3DA5-435B-B29D-92C609576140</bpmn2:incoming>

                  <bpmn2:terminateEventDefinition id="_3eFlYNmMEeC98Y7a_548Xw"/>

                </bpmn2:endEvent>

              </bpmn2:process>

              <bpmn2:collaboration id="_9L5_YNoyEeChpcAZezKhPA">

                <bpmn2:participant id="_9NGSMNoyEeChpcAZezKhPA" name="Internal" processRef=""/>

              </bpmn2:collaboration>

              <bpmndi:BPMNDiagram id="_3eFlYdmMEeC98Y7a_548Xw">

                <bpmndi:BPMNPlane id="_3eFlYtmMEeC98Y7a_548Xw" bpmnElement="">

                  <bpmndi:BPMNShape id="_3eFlY9mMEeC98Y7a_548Xw" bpmnElement="_9CC61D6A-E4F9-4E40-97C4-D06B15E83D7B">

                    <dc:Bounds height="30.0" width="30.0" x="270.0" y="392.0"/>

                  </bpmndi:BPMNShape>

                  <bpmndi:BPMNShape id="_3eFlZNmMEeC98Y7a_548Xw" bpmnElement="_A645FAE9-9524-4C32-8E1B-3C1A533B954E">

                    <dc:Bounds height="80.0" width="100.0" x="395.0" y="367.0"/>

                  </bpmndi:BPMNShape>

                  <bpmndi:BPMNShape id="_3eFlZtmMEeC98Y7a_548Xw" bpmnElement="_D15EAD67-192E-4A90-A944-C2D6FE1E197A">

                    <dc:Bounds height="51.0" width="36.0" x="270.0" y="280.0"/>

                  </bpmndi:BPMNShape>

                  <bpmndi:BPMNEdge id="_3eFlZdmMEeC98Y7a_548Xw" bpmnElement="_144E12D4-98CE-443E-9B97-39169D291DE9" sourceElement="_3eFlY9mMEeC98Y7a_548Xw" targetElement="_3eFlZNmMEeC98Y7a_548Xw">

                    <di:waypoint xsi:type="dc:Point" x="285.0" y="407.0"/>

                    <di:waypoint xsi:type="dc:Point" x="445.0" y="407.0"/>

                  </bpmndi:BPMNEdge>

                  <bpmndi:BPMNEdge id="_3eFlZ9mMEeC98Y7a_548Xw" bpmnElement="_D5738E3A-3DA5-435B-B29D-92C609576140" sourceElement="_3eFlZNmMEeC98Y7a_548Xw" targetElement="_3eFlZtmMEeC98Y7a_548Xw">

                    <di:waypoint xsi:type="dc:Point" x="495.0" y="407.0"/>

                    <di:waypoint xsi:type="dc:Point" x="548.0" y="407.0"/>

                    <di:waypoint xsi:type="dc:Point" x="548.0" y="298.0"/>

                    <di:waypoint xsi:type="dc:Point" x="306.0" y="298.0"/>

                  </bpmndi:BPMNEdge>

                </bpmndi:BPMNPlane>

              </bpmndi:BPMNDiagram>

            </bpmn2:definitions>

             

            Thanks.

            • 3. Re: Runaround not complete
              Tihomir Surdilovic Master

              Thanks, I will take a look and test locally. Can you tell me: >> save it back to Guvnor and load it back up in Eclipse <<

              What Eclipse BPMN2 editor are you using and what version?

              • 4. Re: Runaround not complete
                Tihomir Surdilovic Master

                The issue is with

                 

                <bpmn2:collaboration id="_9L5_YNoyEeChpcAZezKhPA">

                    <bpmn2:participant id="_9NGSMNoyEeChpcAZezKhPA" name="Internal" processRef=""/>

                  </bpmn2:collaboration>

                 

                jBPM5 does not support this node (runtime) so web designer does not either. Unfortunately parsing fails hard if it encounters an element that is not supported. I will fix this to be just a log message ( https://issues.jboss.org/browse/JBPM-3354 ).

                 

                Hope this helps.

                • 5. Re: Runaround not complete
                  Chris Nash Newbie

                  Thanks for fixing this. Will this be in the next release then?

                  • 6. Re: Runaround not complete
                    Tihomir Surdilovic Master

                    Yes, planning a release early next week. Please watch http://sourceforge.net/projects/jbpm/files/designer/ for updates.

                    1 of 1 people found this helpful