Step 3: Deploying the testing and simulation archives

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

  1. To deploy DecisionRunner.war:
    1. Copy <InstallDir>/executionserver/applicationservers/tomcat/DecisionRunner.war to <CATALINA_HOME>/webapps.
    2. 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> 
    3. Save the file.
  2. If necessary, restart Tomcat and the Rule Execution Server console so that the testing and simulation features function correctly.
  3. 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