[jboss-user] [jBPM] - JBPM Upgrade in JBoss Portal

Maxime Gréau do-not-reply at jboss.com
Thu Oct 20 05:53:46 EDT 2011


Maxime Gréau [http://community.jboss.org/people/mgreau] modified the document:

"JBPM Upgrade in JBoss Portal "

To view the document, visit: http://community.jboss.org/docs/DOC-14691

--------------------------------------------------------------
JBoss Portal in the last 2.7.2 community version uses JBPM 3.2. It could be useful update it to a newest version, mainly to get more bug fixing. This is tested using JBPM 3.3.1.GA. Here the steps:

1) modify the file inside the jboss portal sar: conf/hibernate/workflow/hibernate.cfg.xml:

instead of:

    <mapping resource="org/jbpm/identity/User.hbm.xml"/>
    <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
    <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>

put:

<mapping resource="hibernate.identity.hbm.xml"/>


add this row as hibernate property. JBPM need the jndi path of the UserTransaction interface:

<property name="jta.UserTransaction">java:comp/UserTransaction</property>
<entry key="java:comp/UserTransaction" value-ref="transactionManager" />


add in the end of the mappings:

<mapping resource="org/jbpm/job/CleanUpProcessJob.hbm.xml"/>

It is a feature from the 3.2.6 jbpm version. It executes a clean of the datas


2) Download JBPM 3.3.1.GA installer from:

 http://sourceforge.net/projects/jbpm/files/f%29%20jBPM%20jPDL%203/jbpm-jpdl-3.3.1.GA/jbpm-installer-3.3.1.GA.jar/download http://sourceforge.net/projects/jbpm/files/f%29%20jBPM%20jPDL%203/jbpm-jpdl-3.3.1.GA/jbpm-installer-3.3.1.GA.jar/download

and install it through the command:

java -jar jbpm-installer-3.3.1.GA.jar

During the installation you have to choose a your folder and the path of a clean jboss 4.x version binary in your local environment.
It can be downloaded from:

 http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA

and uncompessed in some target folder


3) After the installation in your target folder take the following libraries:

jbpm-jpdl.jar

jbpm-identity.jar

and copy them to the 'lib' directory inside the jboss portal sar, rewriting the current jars
--------------------------------------------------------------

Comment by going to Community
[http://community.jboss.org/docs/DOC-14691]

Create a new document in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111020/f6783a2c/attachment.html 


More information about the jboss-user mailing list