第6章 Installing and running the headless Decision Manager controller with Oracle WebLogic Server
To use the Decision Server REST API or Java Client API to interact with Decision Server, install the headless Decision Manager controller with Oracle WebLogic Server. The headless Decision Manager controller manages Decision Server configuration in a centralized way so that you can use the headless Decision Manager controller to create and maintain containers and perform other server-level tasks.
Prerequisites
- The Oracle WebLogic Server instance is configured as described in 4章Configuring Oracle WebLogic Server for Decision Server.
- Decision Server is installed on the Oracle WebLogic Server instance.
- You have sufficient user permissions to complete the installation.
Procedure
Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options:
- Product: Decision Manager
- Version: 7.5
- Download Red Hat Decision Manager 7.5.1 Add-Ons.
-
Extract the downloaded
rhdm-7.5.1-add-ons.zipfile to a temporary directory. -
In the WebLogic Administration Console, navigate to Security Realms
Users and Groups. -
In the kie-server group that you created previously, create a user for the headless Decision Manager controller, such as
controller, and a password for this new user and click OK. For more information about creating groups and users, see 「Configuring the Decision Server group and users」. - Navigate to Deployments to view all existing applications.
- Click Install.
-
Navigate to the temporary directory where you downloaded and extracted the
rhdm-7.5.1-add-ons.zipfile, and go torhdm-7.5.1-add-ons/rhdm-7.5-controller-ee7.zip/controller.war. -
Select the
controller.warfile and click Next to continue. - Select Install this deployment as an application as the targeting style and click Next.
-
Keep the application name as
controllerand set the security model toDD Only. Leave the remaining options as default and click Next to continue. - In the Additional Configuration section, choose No, I will review the configuration later and click Finish.
6.1. Setting system properties for the headless Decision Manager controller リンクのコピーリンクがクリップボードにコピーされました!
After you install the headless Decision Manager controller, set the system properties listed in this section on your application server or servers to enable proper interaction with the headless Decision Manager controller.
For optimal results, install Decision Server and the headless Decision Manager controller on different servers in production environments. In development environments, you can install Decision Server and the headless Decision Manager controller on the same server. In either case, be sure to make these property changes on all application servers where the headless Decision Manager controller is installed.
Prerequisites
- Decision Server and the headless Decision Manager controller are installed on the application server instance.
Procedure
Specify the following JVM property values on the application server instance where the headless Decision Manager controller is installed:
Expand 表6.1 Required properties for the headless Decision Manager controller Name Requirement org.kie.server.userA user with the
kie-serverroleorg.kie.server.pwdThe password for the user specified in the
org.kie.server.userpropertySpecify the following JVM property values on the application server instance where Decision Server is installed:
Expand 表6.2 Required properties for Decision Server when headless Decision Manager controller is installed Name Requirement org.kie.server.controller.userA user with the
kie-serverroleorg.kie.server.controller.pwdThe password for the user specified for the
org.kie.server.controller.userpropertyorg.kie.server.idThe ID or name of the Decision Server installation, such as
rhdm700-decision-server-1org.kie.server.locationThe URL of the Decision Server,
http://<HOST>:<PORT>/kie-server/services/rest/serverorg.kie.server.controllerThe URL of the headless Decision Manager controller,
http://<HOST>:<PORT>/controller/rest/controller<HOST>is the ID or name of the Decision Server host, for example,localhostor192.7.8.9.<PORT>is the port of the Decision Server host, for example,7001.