Ho to set BWSE Engine properties for multiple BWSE applications.

Ho to set BWSE Engine properties for multiple BWSE applications.

book

Article ID: KB0094092

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Description:
How to setup BW Engine properties automatically at deploy time.

Issue/Introduction

Ho to set BWSE Engine properties for multiple BWSE applications.

Resolution

Option 1). Using the command line.

After DAA has been created, you can edit the properties in the PI1.xml file and deploy the DAA with PI1.xml (with the command line). You will first have to run the extractor to get PI1.xml . Refer to the BWSE documentation->BWSE User’s Guide -> Deploying the Distributed Application Archive (DAA) -> Working with ActiveMatrix Administrator Command-Line Interface .

BWSE documentation->Administration-> Administrator Interfaces: Command-Line Interface .

Run the tool Extractor.exe at TIBCO_HOME\bwse\<version>\bin\ to extract the BW settings from the specified distributed application archive using the following command: 

Extractor   DAA_Name_WithPath   Destination_folder

Where DAA_Name_WithPath is the DAA specified with its path and Destination_folder is the folder where the BW Settings (PI1.xml) is extracted for each of the BWSE components contained in the DAA. For example, you can add the following in PI1.xml:

<NameValuePair>

            <name>CUSTOM_EXT_PREPEND_CP</name>

            <value>TIBCO-HOME/bw/plugins/lib/palettes</value>

            <description></description>

            <requiresConfiguration>false</requiresConfiguration>

    </NameValuePair>   


You can then deploy the DAA with PI1.xml (with the command line).



Option 2). Using the Admin GUI.

Modify the file bwengine.xml under <TIBCO_HOME>\bw\5.x\lib\com\tibco\deployment . Add the property, for example:

<property>
                       <name>Custom PREPEND CP</name>
                       <option>CUSTOM_EXT_PREPEND_CP</option>
                       <default>TIBCO-HOME/bw/plugins/lib/palettes</default>
                       <description></description>
</property>

 
After editing this file, recreate the DAA in BusinessStudio and upload the DAA file as new application. Note that you will see two entries for ‘CUSTOM_EXT_PREPEND_CP’ Under AMX Admin GUI - Applications - ApplicationName - Configuration tab - BW Component - BW Engine Properties .

You will have to delete the default one without any value before deploying the application.

Additional Information

BWSE documentation->

BWSE User’s Guide -> Deploying the Distributed Application Archive (DAA) -> Working with ActiveMatrix Administrator Command-Line Interface

BWSE documentation->Administration-> Administrator Interfaces: Command-Line Interface