How to change default "persistence mode" of the Appspace?
book
Article ID: KB0078428
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
BW 6.x
Description
When we create a new Appspace, it's always created with "memory" engine persistence mode. Is there any way to change "default persistence mode", and each time we create a new Appspace ?
Issue/Introduction
How to change default "persistence mode" of the Appspace?
Environment
ALL
Resolution
The default persistence mode of the Appspace can be changed by modifying the "appspace_config.ini_template" file as follows:
1) Go to below path and search for the "appspace_config.ini_template" file.
<BW Home>\bw\6.4\config\
2) Open "appspace_config.ini_template" file in the editor and search "bw.engine.persistenceMode" property.
3) Change this property to required persistence mode: from bw.engine.persistenceMode=memory
to bw.engine.persistenceMode=group
4) Create the new appspace in new/existing domain and check the persistence mode (Appspace->configuration->bw.engine.persistenceMode). The new Appspace will be created with the persistence mode which is defined in the "appspace_config.ini_template" file.
Note: When we create the new appspace, engine refers the "appspace_config.ini_template" file to pick the default values for the different properties which mentioned in the template file.