Hot Deployment

You can make certain changes to a TIBCO BusinessEvents project and apply them to a running engine, without having to shut down the engine. This is known as hot deployment.

In an active agent, the hot deployment process waits for the current RTC cycle to complete and then injects the changes before the next RTC cycle starts. You can only hot deploy to an application that was enabled for hot deployment before it was deployed. When enabled for hot deployment, the application listens for changes in the EAR file. When you replace an EAR file, TIBCO BusinessEvents detects the change and performs hot deployment. See Enabling Hot Deployment.

The permitted changes available to you depend partly on the type of object management in use. The permitted changes are listed in the section Modifications Allowed in Hot Deployment. If you attempt to hot deploy an EAR file that includes unsupported modifications, TIBCO BusinessEvents rejects the EAR file.

Performing hot deployment requires changing the execution code at run time. This is made possible using the -javaagent option. The -javaagent option is provided in the be-engine.tra file as shipped.

This section explains how to hot deploy with TIBCO Administrator, and also to an engine that was started at the command line.