2 Replies Latest reply on Apr 27, 2012 2:00 AM by Vijay Kumar

    jBPM Deployment procedure

    Vijay Kumar Newbie

      Hi Team,


      Am newbie to jBPM but i have good experience in IBM WID i have some basic question in jBPM can some one please help me on this.


      i have requirement to pass one java object to jbpm process and do some data manipulation in that process and persist.


      am able to create that and able to do so but when am deploying same on the server i will be deploying only bpmn file so it will not have any reference to this POJO.


      i tried 2 options which is provided in net by adding it as a jar on either server default or jbpm console server (both option didnt help me).


      if some one can help me on this that will be great help..




        • 1. Re: jBPM Deployment procedure
          Maciej Swiderski Master

          do you get any errors when you deploy and run this process?


          In general, placing your custom code in console should work properly. If you like, please upload your process here so we could take a look at it.



          • 2. Re: jBPM Deployment procedure
            Vijay Kumar Newbie

            Hello Mate,


            My code is very simple BPMN has one java class import and that BPMN i copied in to my configured BPMN folder and now when i run this BPMN its not able to identify that java class, howver if i run that bpmn in eclipse its working fine.


            my BPMN is this.


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

            <definitions id="Definition"






                         xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"







              <process processType="Private" isExecutable="true" id="test.123.vijay" name="Hello World" tns:packageName="com" >



                 <tns:import name="com.sample.Employee" />


                <!-- nodes -->

                <startEvent id="_1" name="Start" />

                <endEvent id="_3" name="End" >



                <scriptTask id="_6" name="Logger" scriptFormat="http://www.java.com/java" >


            System.out.println("In the Sub Process of the ANOTHER PROJECT---------&gt;");</script>



                <!-- connections -->

                <sequenceFlow id="_6-_3" sourceRef="_6" targetRef="_3" />

                <sequenceFlow id="_1-_6" sourceRef="_1" targetRef="_6" />





                <bpmndi:BPMNPlane bpmnElement="test.123.vijay" >

                  <bpmndi:BPMNShape bpmnElement="_1" >

                    <dc:Bounds x="16" y="16" width="48" height="48" />


                  <bpmndi:BPMNShape bpmnElement="_3" >

                    <dc:Bounds x="561" y="36" width="48" height="48" />


                  <bpmndi:BPMNShape bpmnElement="_6" >

                    <dc:Bounds x="221" y="56" width="80" height="48" />


                  <bpmndi:BPMNEdge bpmnElement="_6-_3" >

                    <di:waypoint x="261" y="80" />

                    <di:waypoint x="585" y="60" />


                  <bpmndi:BPMNEdge bpmnElement="_1-_6" >

                    <di:waypoint x="40" y="40" />

                    <di:waypoint x="261" y="80" />







            it is failing in import statement which is bolded. also if i have to create a jar of that java classed where should i drop so that BPMN wil recognise this class.