Creating a 100Custom.xml configuration file
To modify the Process Server or IBM® Process Center configuration, you must create a 100Custom.xml file if it does not exist. Then you can change the configuration properties in the 100Custom.xml files of the IBM BPM deployment environment to override the default configurations in other XML configuration files (such as the 99Local.xml file), including repository server information and Performance Data Warehouse communication methods.
About this task
The IBM BPM settings that comprise the TeamWorksConfiguration.running.xml file originate from the system XML files that contain the default values as well as from the 100Custom.xml configuration files. All XML files are read from the configuration scope, but it is recommended that you only use files that are prefixed with 100Custom for custom changes to the settings. You should not modify the system XML files directly. The XML files are first loaded in alphabetic order and then in numeric order, although it is best to avoid any conflicting changes in your custom settings to prevent the order of the files being loaded from impacting the final settings.
The following XML snippet shows the top-level structure of a 100Custom.xml change file. At most, only one occurrence of these XML tags should exist in a particular 100Custom.xml file:
<properties>
<authoring-environment>
<!-- Settings related to Process Designer -->
</authoring-environment>
<common>
<!-- General IBM BPM settings -->
</common>
<server>
<!-- Settings related to the run-time server -->
</server>
<web-pd>
<!-- Settings related to the web Process Designer -->
</web-pd>
<event-manager>
<!-- Settings related to Event Manager -->
</event-manager>
<performance-server>
<!-- Settings related to Performance Data Warehouse -->
</performance-server>
</properties>
In the above XML snippet, some sections are only useful in certain configuration scopes. For example, the performance-server section is only useful in the performance-data-warehouse configuration scope.
The way that elements are nested is important. For example, if you nest the <timeout> element under an inappropriate parent element like <server>, the value will not change. The property must be in the correct location in the XML document for Process Server to read and update the values during run time.
IBM BPM merges the changes that you make in the 100Custom.xml file with the original configuration based on the value of the merge attribute. All attribute values must be specified in quotation marks. For example, the merge attribute and its default value mergeChildren are specified as merge="mergeChildren". Depending on how you want to merge updated elements between the 100Custom.xml file and the original configuration, use one of the values in the following table.
| Value for merge attribute | Description |
|---|---|
| append | Appends the new element to any existing elements, which is useful when you are adding an additional element to an existing list that contains multiple copies of the same element. |
| mergeChildren | Merges the new element with the first of the existing elements, which is useful when you are specifying the parent XML tags of child elements that need to be changed. The mergeChildren value is the default value for the merge attribute, which means that the attribute value merge="mergeChildren" is implied and does not actually need to be specified on an element. |
| replace | Replaces all existing elements and their child elements with the new element, which is useful
when you are changing the value of child elements or when you want to modify a parent element and
all its child elements. Note: When you set the merge="replace" attribute for an
element that has nested child elements, any existing child elements from the product's default
configuration will be deleted and only the child elements that are specified in your customization
will be set. As a result, it is recommend that you only use merge="replace" on leaf
nodes where the element does not have any children. Otherwise, ensure that you are including all
required child elements in your customization.
|
Procedure
To configure a 100Custom.xml file: