Home JBoss howto JBPM How to deploy a process archive (.par) file ?
30 | 07 | 2010
JBoss 5 AS Book
"JBoss AS 5 development" reviews
Please share your feedback/review with other readers!
Banner
Dashboard
Advertise with Us
Banner
RSS Feed
Java EE 1.6 resources
Login
Sign here for the NewsLetter.



JBoss admin resources
Banner
Java EE 1.6 resources
JBoss howto

How to avoid the 50 seconds start up limit in Eclipse ?

JBoss recipe of the day ...
Read More

How can you solve deployment errors caused by large war/jar/ear files ?

jboss recipe of the day ...
Read More

How do you configure your .war to be deployed after your EJB ?

jboss recipe of the day ...
Read More
How to deploy a process archive (.par) file ?
Written by F.Marchioni   
JBoss recipe of the day
A process archive is a zip file containing information about a process graph.
The central file in the process archive is processdefinition.xmlwhich contain the structure of the process graph. The processdefinition.xml also contains information about actions and tasks. A process archive can also contain other process related files such as classes, ui-forms for tasks.

Here's a sample process.par file structure.

process.par
│   gpd.xml
│   processdefinition.xml

└───classes
    │   hibernate.cfg.mysql.xml
    │   jbpm-mysql-ds.xml
    │
    └───com
        └───sample
            └───action
                    MessageActionHandler.class
You can deploy the process archive just any other archive (by default on the deploy folder of JBoss server). Once you've deployed it, you can start work on your process, creating new Process Instances.

Here's the sample HelloWorld .par file generated by JBoss JBPM plugin:
Download
JBoss.org Search
Custom Search
Comments
Search
kirq4e  - Doesn`t work   |2009-03-12 17:03:32
So you just copy the par in the deploy directory?
I created a simple par with
process definition and classes and after copying it to the deploy directory
nothing happened. Restart didn`t helped. Is there some other configuration to be
set.

I use JBoss 5.0.0 and jBPM 3.3.1.

The only way I know for deploying the
par is with the jsf-console or from ProcessDefinition with code.
admin   |2009-03-16 10:35:46
Hello,
I have added a download at the bottom with the simple .par generated by
JBoss plugin. Put it in the deploy folder and verify from the JBPM console if
you have it among your process definitions.
At the moment I have only verified
this how to on JBoss 4.X, let me know if it works.
regards
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."