4.2. Install the Realtime Decision Server

The Realtime Decision Server is distributed as a web application archive (WAR) file with the name of kie-server.war and is present in your IBM WebSphere download. To install it, follow these steps:

Note

It is assumed here that you have followed the steps to create the role kie-server, required by the Decision Server when you were installing Business Central. If you haven't done so, revisit the respective section in this guide.
  1. In your IBM WebSphere 8 administrative console, open up Applications --> Application Types --> WebSphere enterprise applications. This will show you all the existing applications in the system and allow you to install a new one.
  2. Click the Install button to start the process.
  3. Upload the Decision Server WAR file (kie-server.war) from the local file system.
  4. Accept the default choices for most of the options presented including choosing the Fast Path option.
  5. Change Application name to kie-server in Step 1 and click Next.
  6. In Step 2, map the KIE Server modules to servers depending upon your requirements.
  7. Accept the default values for rest of the options and set the context root to: kie-server. Click the Finish button to install the Decision Server. Choose to save to the master configuration at the end of this process.
  8. Navigate to ApplicationsApplication TypesWebSphere enterprise applications and then click on kie-server (this should be in the stopped state). This will show you the specific application settings. Click on "Class loading and update detection". In the properties, change "Class loader order" to 'Classes loaded with local class loader first (parent last)' and "WAR class loader policy" to 'Single class loader for application'. Save this configuration.
  9. If you have already mapped the kie-server role to a user/group, you may ignore this step, otherwise, go back to the main configuration page for this newly installed server application. Click on Security role to user/group mapping.
    Select the kie-server role, click Map Groups..., search for the admin group in the next screen (or just press the Search button) and move it from the Available list to the Selected list. Click OK. Mapping this will give the admin user that we created earlier (for example, business-central-admin) access to the Realtime Decision Server
  10. Save and start the kie-server application.
You can check whether the Realtime Decision Server REST API works by sending a GET request at http://target-server/kie-server/services/rest/server.