Chapter 29 Configuring and Using Hot Deployment : Enabling and Disabling Hot Deployment

Enabling and Disabling Hot Deployment
As a safety measure you can enable and disable hot deployment. To enable and disable hot deployment, you use the engine property be.engine.hotDeploy.enabled. The property is available in TIBCO Administrator by default. Its default value is false.
You can set the property value to true or false in the be-engine.tra file, or using TIBCO Administrator. If you deploy using TIBCO Administrator, set the value using TIBCO Administrator.
You set the property value, then deploy and start the application, so that subsequent deployments can be done without stopping the engine. (In other words, you can’t set the hot deployment property to true and immediately perform a hot deployment.)
To Enable Hot Deployment – Engine Property File
1.
Open the BE_HOME/bin/be-engine.tra file for editing.
2.
# Hot deployment
be.engine.hotDeploy.enabled true
3.
4.
If you deploy using TIBCO Administrator, it is likely that the value you set in the be-engine.tra file for be.engine.hotDeploy.enabled will be overridden by the same-named property, which has a default value, on the Advanced tab of the BAR file in TIBCO Administrator. See Customizing the List of Properties on the Advanced Tab for more details.
To Enable Hot Deployment – TIBCO Administrator
This procedure assumes that you have generated the project EAR and uploaded it to TIBCO Administrator. You can configure before you deploy.
1.
In the left pane of TIBCO Administrator, click Application Management>project_name>Configuration.
2.
3.
Click Advanced.
4.
Locate the hot deployment property, be.engine.hotDeploy.enabled.
5.
6.
Click Save.
7.
You can now perform hot deployment to the running application. See Performing Hot Deployment in a TIBCO Administrator Domain and Performing Hot Deployment Outside a TIBCO Administrator Domain for details.