You deploy the testing and simulations archives to enable
testing and simulation 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 archive is used to run tests and simulations in the
Business console.
Note: The testing and simulation WARs 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/WLP/DecisionRunner.war to <WLP_HOME>/usr/servers/<SERVER_NAME>/apps.
- In <WLP_HOME>/usr/servers/<SERVER_NAME>/server.xml:
- Add to the
<featureManager>
section:<feature>concurrent-1.0</feature>
- Create a managed executor service:
<!-- Managed executor service for Decision Runner -->
<managedExecutorService jndiName="concurrent/drExecutorService"/>
Note: You
can change the value of jndiName
. If you do, you
must change the value of the context parameter EXECUTOR_SERVICE
and
the name of the corresponding resource environment reference that
is associated with the web.xml
of the Decision Runner
WAR.
- Declare the context for DecisionRunner.war:
<!-- Decision Runner -->
<application type="war" id="DecisionRunner" name="DecisionRunner" location="${server.config.dir}/apps/DecisionRunner.war">
<application-bnd>
<security-role name="resAdministrators">
<group name="resAdministrators" />
</security-role>
<security-role name="resDeployers">
<group name="resDeployers" />
</security-role>
</application-bnd>
</application>
- Save the file.
- To verify that you have correctly deployed the testing & simulation applications,
start the Liberty server and use the following URL to sign in as a user with
resAdministrators
or resDeployers
rights:
http://<host>:<port>/DecisionRunner