Show Table of Contents
4.2. Setting Up a Decision Server
To fire all the rules through the REST API, you must register a decision server. This section illustrates:
- How to register a decision server
- How to add a new container to the decision server
See the How to set up Decision Server in 6.2 Knowledgebase article for more information about decision servers.
Procedure 4.2. Registering a Decision Server
Creating a User
You will need a new user. Due to a bug, this user needs to be namedkieserver.- In the command line, move into the
$SERVER_HOME/bin/directory and execute the following command:$ ./add-user.sh -a --user kieserver --password kieserver1! --role kie-server
Creating a Decision Server
- On the command line, change into the
$SERVER_HOME/standalone/configurationdirectory and editstandalone.xmlso that it contains the following properties in addition to the properties located in thesystem-propertiestag:<property name="org.kie.server.user" value="helloworlduser"></property> <property name="org.kie.server.pwd" value="Helloworld@123"></property> <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"></property> <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"></property> <property name="org.kie.server.controller.user" value="kieserver"></property> <property name="org.kie.server.controller.pwd" value="kieserver1!"></property> <property name="org.kie.server.id" value="local-server-123"></property>
Setting Up Containers
- On the command line, change into the
$SERVER_HOME/bin/directory and execute the following command:./standalone.sh
- In the Business Central, click →
- In the displayed Server Management Browser window, you see
local-server-123. Click on the right. - The Create Container... dialog opens. Enter the following:
- Name:
myContainer - Click and next to
MyProject-1.0.0.jar, click . - Click to create the container.
- Click
to select myContainerand click to start the container

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.