3 Replies Latest reply on Jul 14, 2015 8:17 AM by archanamadhavan

    jBPM installation on console

    archanamadhavan

      Hi,

      I have jar file and when i try to deploy on the jbpm console,first time it is successfully deployed. but nothing got displayed on the Work tab of first user task. so I could not proceed.

      I tried to deploy again after rebuilding the jar, this time  I am getting

      "Deployment of unit com.AllocatingSystem:AllocatingSystem.jbpm.poc:3 failed: java.lang.IllegalArgumentException: Unable to read process com/sample/Allocate.bpmn" where Allocate.bpmn is the bpmn flow.

      I am deleting the deployed instance before deploying it again.


      Any idea about the cause of this error.Why it is happening from the second time of deployment.


      Thanks

        • 1. Re: jBPM installation on console
          swiderski.maciej

          check server log as most likely you will find the root cause there

           

          HTH

          • 2. Re: jBPM installation on console
            archanamadhavan

            Hi Maciej,

            The log has below error,

            ERROR [org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl] (default task-3) Error: unable to parse xml : Exception class java.lang.NullPointerException : null

            Alse there are errors like 

            ERROR org.drools.core.xml.ExtensibleXmlParser  - (null: 225, 66): cvc-complex-type.2.4.b: The content of element 'bpmn2:dataOutputAssociation' is not complete. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":sourceRef, "http://www.omg.org/spec/BPMN/20100524/MODEL":targetRef}' is expected.

             

            Are the above error for input/output  mapping option?Any idea?

             

            Please help.

            • 3. Re: jBPM installation on console
              archanamadhavan

              Hi,

              I believe the above mentioned error is because there are some traces present in the bpmn flow.I tried deleting the lines in xml which caused the error.for once it worked fine.But again it is showing same errors.

              Though there are entries in the XMl file as below,nothing is showing in the bpmn flow. and it is error free.

                <bpmn2:extensionElements>

                      <tns:onEntry-script>

                        <tns:script></tns:script>

                      </tns:onEntry-script>

                    </bpmn2:extensionElements>

               

              <bpmn2:dataInputAssociation id="DataInputAssociation_1"/>

                    <bpmn2:dataInputAssociation id="DataInputAssociation_3"/>

               

              <bpmn2:potentialOwner id="PotentialOwner_2">

                      <bpmn2:resourceAssignmentExpression id="ResourceAssignmentExpression_2"/>

                    </bpmn2:potentialOwner>

               

              I have attached the screen shots of the first user task property.in which there are no entries as above.

               

              User task Input and Output mapping :  

                     User task property :EmployeeTask_property.PNGEmployeeTask_propertyAttributes.PNG

               

              Exclusive gateway property

              divergent_exclusive.PNG

               

              How to make it stable.

              Thanks