Bug 1300934

Summary: Missing content: SETTING UP PERSISTENCE FOR KIE-SERVER
Product: [Retired] JBoss BPMS Platform 6 Reporter: Lyle Wang <lywang>
Component: DocumentationAssignee: Dawn Eisner <deisner>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: brms-docs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:47:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lyle Wang 2016-01-22 06:55:40 UTC
Document URL: 

https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.2/html/Installation_Guide/chap-Special_setups.html


Section Number and Name: 
CHAPTER 3. SPECIAL SETUPS


Describe the issue: 

It is necessary to setup persistence for kie-server.war in BPMS.
Process / Task related data would be persisted in database and by default, the out-of-box ds "ExampleDS" is used.

For those customers choose not to use "java:jboss/datasources/ExampleDS" as JNDI name, there needs to be a way to configure this in kie-server.war, just as what we do in business-central.war.


Suggestions for improvement: 
It appears we can specify the DS name by adding system property in JBoss config file (standalone.xml / domain.xml), so standalone.xml looks like:
-------------------------------------
<?xml version='1.0' encoding='UTF-8'?>

<server xmlns="urn:jboss:domain:1.7">
......
    <system-properties>
......
        <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/MyBPMSDS"/>
    </system-properties>
-------------------------------------

Please confirm with developer team if this is the correct / recommended way.


Additional information: