Bug 779527 (SOA-1908)

Summary: Simplify changing of DB for jBPM
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Tom Baeyens <mail>
Component: Rules / jBPM integrationAssignee: Default User <jbpapp-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: erics, soa-p-jira
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1908
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 779528 779529 (view as bug list) Environment:
Last Closed: 2010-11-09 21:04:59 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tom Baeyens 2010-02-02 10:06:43 UTC
project_key: SOA

Currently the directory jboss-soa-p.5.0.0\jbpm-jpdl\config there are a bunch of configuration files to help customers customize the jBPM configuration for a different DB.

The jbpm.cfg.xml in there is the wrong one, I belive.  Customers should not customize the jbpm.cfg.xml.  So that file should not be in the config directory.

There should be one base hibernate.cfg.xml that serves for most DBs.  It should point to the datasource called java:/JbpmDS.  Only for some dbs, it's necessary to have a differrent database-specific ${database}.hibernate.cfg.xml file.  E.g. for DB2, maybe for others as well.

The ${database}-ds.xml configuration files are good.

Updates to these configuration files should be done in the productization build script.  Care has to be taken with changing the source files in the jBPM source branch as that might lead to breaking the build.

In the documentation, Chapter 3 should be completly replaced with an explanation of how these configuration files should be used to customize jBPM for a given database.  It should also be added that all jbpm configuration changes not described in the product documentation is not supported.

The documentation should also include the libraries: where the customer can find them and where to put them.