[jboss-dev-forums] [jBPM Development] - Re: jBPM Deployment procedure

Vijay Kumar do-not-reply at jboss.com
Fri Apr 27 02:00:07 EDT 2012


Vijay Kumar [https://community.jboss.org/people/arnavvrao] created the discussion

"Re: jBPM Deployment procedure"

To view the discussion, visit: https://community.jboss.org/message/732584#732584

--------------------------------------------------------------
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"
             targetNamespace=" http://www.jboss.org/drools http://www.jboss.org/drools"
             typeLanguage=" http://www.java.com/javaTypes http://www.java.com/javaTypes"
             expressionLanguage=" http://www.mvel.org/2.0 http://www.mvel.org/2.0"
             xmlns=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
             xmlns:g=" http://www.jboss.org/drools/flow/gpd http://www.jboss.org/drools/flow/gpd"
             xmlns:bpmndi=" http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI"
             xmlns:dc=" http://www.omg.org/spec/DD/20100524/DC http://www.omg.org/spec/DD/20100524/DC"
             xmlns:di=" http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI"
             xmlns:tns=" http://www.jboss.org/drools http://www.jboss.org/drools">

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

    <extensionElements>
*<tns:import name="com.sample.Employee" />*
    </extensionElements>
    <!-- nodes -->
    <startEvent id="_1" name="Start" />
    <endEvent id="_3" name="End" >
        <terminateEventDefinition/>
    </endEvent>
    <scriptTask id="_6" name="Logger" scriptFormat=" http://www.java.com/java http://www.java.com/java" >
      <script>
System.out.println("In the Sub Process of the ANOTHER PROJECT---------&gt;");</script>
    </scriptTask>

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

  </process>

  <bpmndi:BPMNDiagram>
    <bpmndi:BPMNPlane bpmnElement="test.123.vijay" >
      <bpmndi:BPMNShape bpmnElement="_1" >
        <dc:Bounds x="16" y="16" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_3" >
        <dc:Bounds x="561" y="36" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_6" >
        <dc:Bounds x="221" y="56" width="80" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="_6-_3" >
        <di:waypoint x="261" y="80" />
        <di:waypoint x="585" y="60" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_1-_6" >
        <di:waypoint x="40" y="40" />
        <di:waypoint x="261" y="80" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>

</definitions>

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.

Thanks,
Vijay
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/732584#732584]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120427/250ddcd0/attachment.html 


More information about the jboss-dev-forums mailing list