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">UserTransaction</property>
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:
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
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
Comments