6.3. Running the headless Decision Manager controller
After you have installed the headless Decision Manager controller on Red Hat JBoss EAP, use this procedure to run the headless Decision Manager controller.
Prerequisites
-
The headless Decision Manager controller is installed and configured in the base directory of the Red Hat JBoss EAP installation (
EAP_HOME
).
Procedure
-
In a terminal application, navigate to
EAP_HOME/bin
. If you installed the headless Decision Manager controller on the same Red Hat JBoss EAP instance as the Red Hat JBoss EAP instance where you installed the KIE Server, enter one of the following commands:
On Linux or UNIX-based systems:
./standalone.sh -c standalone-full.xml
$ ./standalone.sh -c standalone-full.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow On Windows:
standalone.bat -c standalone-full.xml
standalone.bat -c standalone-full.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
If you installed the headless Decision Manager controller on a separate Red Hat JBoss EAP instance from the Red Hat JBoss EAP instance where you installed the KIE Server, you can start the headless Decision Manager controller with the
standalone.sh
script:注記In this case, ensure that you made all required configuration changes to the
standalone.xml
file.On Linux or UNIX-based systems:
./standalone.sh
$ ./standalone.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow On Windows:
standalone.bat
standalone.bat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To verify that the headless Decision Manager controller is working on Red Hat JBoss EAP, enter the following command where
<CONTROLLER>
and<CONTROLLER_PWD>
is the user name and password. The output of this command provides information about the KIE Server instance.curl -X GET "http://<HOST>:<PORT>/controller/rest/controller/management/servers" -H "accept: application/xml" -u '<CONTROLLER>:<CONTROLLER_PWD>'
curl -X GET "http://<HOST>:<PORT>/controller/rest/controller/management/servers" -H "accept: application/xml" -u '<CONTROLLER>:<CONTROLLER_PWD>'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Alternatively, you can use the KIE Server Java API Client to access the headless Decision Manager controller.