You deploy the testing and simulation archives to enable
testing and simulations from the Decision Center consoles.
About this task
Before deploying the testing and simulation archives, make sure that the database is already
created (see Mandatory: Create the databases).
The DecisionRunner.war archives is used to run tests and simulations in the
Business console.
The testing and simulation archives must be installed on the same server and port as the Rule Execution Server console. If the Rule Execution Server console is not deployed on the same server and
port, set the RES_URL init parameter on the Decision Runner web application
(DecisionRunner.war) to the Rule Execution Server console that uses the Decision Runner.
Procedure
- To deploy DecisionRunner.war:
- Copy <InstallDir>/executionserver/applicationservers/tomcat/DecisionRunner.war to <CATALINA_HOME>/webapps.
- In <CATALINA_HOME>/conf/server.xml,
add the following to declare the context for DecisionRunner.war just
before the tag that closes the localhost definition </Host>:
<Context path="/DecisionRunner"
docBase="DecisionRunner.war"
debug="0"
reloadable="true"
crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_res_log."
suffix=".txt" timestamp="true"/>
<ResourceLink name="jdbc/resdatasource"
global="jdbc/resdatasource"
type="javax.sql.DataSource"/>
</Context>
- Save the file.
- If necessary, restart Tomcat and the Rule Execution Server console
so that the testing and simulation features function correctly.
- To verify that you have correctly deployed the testing and simulation application, start
the server and use the following address to sign in as a user with
resAdministrators or resDeployers rights:
http://<host>:<port>/DecisionRunner