Chapter 9 Deploying and Unloading Decision Tables : Deploying Decision Tables

Deploying Decision Tables
Configuration required  Ensure that RMS and BusinessEvents are configured for deployment of decision table classes before you begin. See Configuring for Deployment of Decision Table Classes and Configuring for Unloading of Decision Table Classes for details.
When decision project resources are approved, RMS generates the decision table class files and places them in the deployment subdirectory of the RMS project directory. (This location is configurable. See note above.)
You can now copy the files to the directory where BusinessEvents expects to find Decision Manager decision table class files.
You can configure the corresponding BusinessEvents property be.engine.cluster.externalClasses.path to point to the deployment subdirectory of one RMS project. Then when decision tables are approved for that project they are automatically available for deployment to BusinessEvents without manual copying. See Virtual Rule Functions and Decision Manager in TIBCO BusinessEvents User’s Guide for more about BusinessEvents configuration.
Deploying Decision Table Classes at BusinessEvents Startup
To deploy decision table classes when the BusinessEvents production system starts up, a technical user copies them to a location known to the BusinessEvents cluster nodes. See Configuring for Deployment of Decision Table Classes to determine the location configured for your system.
Because these classes originate in the Decision Manager application, they are known as external classes, from the point of view of the BusinessEvents nodes.
Hot Deploying External Classes Using JMX
If RMS is configured with JMX properties, you can hot deploy external classes to BusinessEvents cluster nodes. For JMX configuration details, see Configuring for Deployment of Decision Table Classes.
To Hot Deploy External Classes using JMX
1.
Open a command window in the bin directory of your JDK installation and type jconsole. You see a dialog box similar to the following:
2.
Select the connection corresponding to the BusinessEvents node that you want to view. (Each node runs in one JVM.) Click Connect. You see a dialog box similar to the following:
3.
Select the MBeans tab and expand the nodes under Tree in the left panel. You see a dialog box similar to the following:
4.
Navigate to the com.tibco.be tree, expand Cluster, and select the appropriate cluster name.
5.
In the right panel, select the Operations tab and click loadAndDeploy.
The class files generated from decision tables are deployed to all nodes in the cluster.