Bug 1300934 - Missing content: SETTING UP PERSISTENCE FOR KIE-SERVER
Summary: Missing content: SETTING UP PERSISTENCE FOR KIE-SERVER
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Documentation
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Dawn Eisner
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-22 06:55 UTC by Lyle Wang
Modified: 2020-03-27 19:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:47:40 UTC
Type: Bug


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.