Step 10: Deploying the hosted transparent decision service EAR

You can optionally deploy the EAR file for hosted transparent decision services.

About this task

You must deploy the EAR file on the same node as the execution unit (XU).

Procedure

  1. Open the Integrated Solutions Console.
  2. In the side panel, click Applications > New Application and New Enterprise Application.
  3. In the side panel, select Local file system and browse to the archive file, and then click Next.

    <InstallDir>/executionserver/applicationservers/WebSphere<version_number>/jrules-res-htds-WAS<version_number>.ear

  4. Select the check box Detailed - Show all installation options and parameters.
    1. Expand Choose to generate default bindings and mappings.
    2. Select the check box Generate Default Bindings.
    3. Click Next.
  5. Click Continue to accept the security warning.
  6. For Step 1 to Step 10, click Next to accept the default settings.

    Step 11 provides a summary.

  7. Click Finish.
  8. After the installation completes, click Save to save directly to the master configuration.
  9. In the side panel, open Applications  > Application Types > WebSphere enterprise applications and click jrules-res-htds.
  10. Click Manage Modules.
  11. Click DecisionService.
  12. Under General Properties, for Class loader order, select Classes loaded with local class loader first (parent last).
  13. Click OK.
  14. Click OK and Save to save directly to the master configuration.
  15. In the side panel, open Applications  > Application Types > WebSphere enterprise applications.
  16. In the Enterprise Applications page, select the check box next to jrules-res-htds, and then click Start to start the application.

What to do next

The hosted transparent decision service requires that you set the web container custom property DecodeUrlAsUTF8 to false to support a localized ruleset path.

By default, the ruleset.xmlDocumentDriverPool.maxSize ruleset property value is set to 1. This value might cause a bottleneck if you have several clients that execute a hosted transparent decision service concurrently. Increasing the value of this property is likely to significantly increase the performance. To optimize performance, set the value according to the number of concurrent executions of the ruleset. For example, if you have five concurrent clients, 5 might be a good value.

Set this value from the Ruleset View in the Rule Execution Server console as follows:

  1. Sign in to the Rule Execution Server console.
  2. Click the Explorer tab.
  3. Click RuleApps in the Navigator panel to display the RuleApps View.
  4. Click the name of the RuleApp that contains the ruleset in the RuleApps View.
  5. In the RuleApp View, click the relevant ruleset.
  6. In the Ruleset View, click Add Property.

    A New Ruleset Property form opens.

  7. Select the predefined property ruleset.xmlDocumentDriverPool.maxSize in the drop-down list.
  8. Set the required value.
  9. Click Add.