Chapter 2 RMS and Decision Manager Configuration : Configuring for Unloading of Decision Table Classes

Configuring for Unloading of Decision Table Classes
Users with correct permissions can unload (undeploy) previously deployed decision tables from a running BusinessEvents system.
The procedure for performing the unload using Decision Manager Worklist view is provided in the section Undeploying (Unloading) Decision Tables. Before you can perform the procedure, however, you must perform configuration described in this section.
Two Ways to Unload Decision Table Classes
You can unload decision tables in two ways:
This feature uses RMI (Java Remote Method Invocation).
Using a JMX-based unload operation  If you have configured JMX to hot-deploy classes, you can also unload classes using JMX, with no additional configuration. See Configuring for Unloading of Decision Table Classes.
By selecting the Unload action in the Worklist view  This is a remote operation and requires RMI settings to be configured as explained below.
When you select the Unload action in the Worklist view, Decision Manager sends the request to RMS, which relays it to the RMI server in the running BusinessEvents system, and the class (that is the decision table) is unloaded.
About RMI
RMI is a Java standard that enables remote communication between Java programs. For an introduction to RMI, see the following:
http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp
Configuring to Enable Unload in the Worklist View
You must configure the RMI properties in the following files:
The BE_HOME/rms/bin/be-rms.tra file.
The BE_HOME/be/bin/be-engine.tra file in all BusinessEvents nodes (except those running only query agents).
1.
   be.engine.cluster.rmi.enabled=true
   be.engine.cluster.rmi.host=localhost
   be.engine.cluster.rmi.port=9999
2.
Specifies the host name of the RMI host, that is, the name or IP address of a machine hosting one or more BusinessEvents nodes. An RMI server will be started on this machine.
Note: Do not use nodes that contain only query agents.
Default is localhost.
If a machine has two BusinessEvents nodes, and you want to start two RMI servers, one for each node, specify a different port for each node.