Hi,
 I am new to JBPM 4.4. I have followed the userguide and have installed the examples

http://docs.jboss.com/jbpm/v4/userguide/html_single/ and

http://docs.jboss.com/jbpm/v4/devguide/html_single/#jbossintegration

 

and have installed the JBPM 4.4.

 

But my requirement is to learn how to modify the already existing examples or include my own example process file deploy it and understand how it works in the Console.

http://localhost:8080/jbpm-console/app.html#errai_ToolSet_Processes;Process_Overview.4

 

For the above to be implemented I tried modifying the  state choice Package which included the process.jpdl. Build it to get the updated class file and tried to generate a jar and bar file inside the target folder.

 

As per the developer’s guide I tried placing the jar file generated inside the example/target folder and placed it in the server/deploy folder of the Jboss server.

 

I restarted the server and HSQLdb and checked the console for the update I made in the process flow diagram but it is not getting reflected.

 

 

The overall difficulty I find with understanding the execution of the Process flow is that they are including some install scripts that is extracted from the JBPM4.4 software version in the install folder and using the ant command

 

       Ant demo.setup.jboss->

     

It does the following activities:

 

*   Install JBoss into the ${jbpm.home}/jboss-5.0.0.GA directory

*   Install jBPM into that JBoss installation.

*   Install hsqldb and start it in the background

*   Create the DB Schema

*   Start JBoss in the background.

*   Create an examples. Bar business archive from the examples and deploy it to the jBPM DB.

*   Load the example users and groups from ${jbpm.home}/install/src/demo/example.identities.sql

*   Install eclipse into ${jbpm.home}/eclipse

*   Install the jBPM web console

*   Install the Signavio web modeler

*   Start eclipse

 

So the deployment and the execution procedure is virtual. I would like to know if I need create a new process definition and write a new java file how should I create a process archive and how should I deploy the same and how to monitor its output in the console with an example.


what are the steps involved to create a new process definition in the GPD how to create bar or jar file for deployment.should i start the server and HSQLdbmanager everytime i deploy?.


 

Please do help me on this.

 

Regards,

Selvi