Step 3: Deploying the testing and simulation archive

After creating the database resources, you can deploy the testing and simulation archive.

About this task

To use the testing and simulation features, you must deploy the default testing and simulation archive. You follow the same procedure whether you deploy the default file that is packaged with the installer or any subsequently repackaged archive file.

If you have an XML XOM, you can also use the archive to test your rules. The ruleset archive inside a RuleApp includes an XML XOM, so you do not have to repackage the archive to include the XOM.

You must deploy the archive to the same server as the execution unit (XU). Moreover, for the testing and simulation services to work, the SSP and Decision Runner WARs in the archive must be installed on the same server and port as the Rule Execution Server console.

If a Rule Execution Server console instance is not deployed on the same server and port, you must implement the IlrSSPResolver interface for SSP. In the resolver, you can use the server name to return a specific server URL.

For the Decision Runner, if a Rule Execution Server console instance is not deployed on the same server and port, you must set the RES_URL init parameter on the Decision Runner web application to the Rule Execution Server console that uses the Decision Runner.

Tip: To run simulations in managed threads, the Decision Runner uses a work manager that is named wm/drWorkManager. You must create a work manager that has this name on your application server if you want to use a dedicated work manager. Otherwise, the Decision Runner uses the default work manager.

Procedure

To deploy the archive:

  1. In the WebLogic Server administration console, click Deployments.
  2. In the Summary of Deployments page, under Deployments, click Install.
  3. In the Install Application Assistant, click upload your file(s).
  4. Click Browse next to Deployment Archive, upload <InstallDir>/executionserver/applicationservers/WebLogicXX/jrules-ssp-WLXX.ear, and click Next.
  5. Select the EAR file and click Next.
  6. Select Install this deployment as an application and click Next.
  7. Select Use the defaults defined by the deployment's targets and click Finish.
  8. In the Summary of Deployments page, select the EAR file and select Start  >  Servicing all requests.
  9. In the Start Application Assistant, click Yes to start the deployment.
  10. Verify that the archives are deployed.

    The State option must be set to Active.