Adding Java properties to a deployed application.

Adding Java properties to a deployed application.

book

Article ID: KB0088816

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
How to add Java properties to a deployed application.

Issue/Introduction

Adding Java properties to a deployed application.

Resolution

To add Java properties to deployed application:

1). For a temporary change, add the property directly into the deployed tra file under %TIBCO_ROOT%/tra/domain/%domain_name%/application/%app_name% with the property:

java.extended.properties.

The properties will be overwritten when you redeploy the application.

2). for a permanent change, add the properties into %TIBCO_ROOT%/bw/5.x/lib/com/tibco/deployment/bwengine.xml in the development machine as:

    <property>
        <name>Java Verbose GC</name>
        <option>java.extended.properties</option>
        <default-Xincgc -XX:NewSize=64m</default>
        <description>Java Verbose GC flag</description>
    </property>

You will need to rebuild the ear file in that machine in order to make the property available in that ear file. The tra file will have the properties when you deploy the ear file. You can modify the value in Admin GUI.