Chapter 3. Configuring IBM WebSphere for Decision Server
Before you can deploy Decision Server on IBM WebSphere, you must configure the server to accept the deployable kie-server.war file.
Prerequisites
You have successfully logged in to the IBM WebSphere’s IBM Integrated Solutions Console. The main menu on the left side of the console contains all the links necessary for configuring the application server.
Figure 3.1. IBM Integrated Solutions Console

3.1. Increasing JVM heap size
The default JVM heap size in IBM WebSphere may cause errors when deploying Decision Server. To avoid issues, increase the heap size:
- In the Integrated Solutions Console, go to Servers → Server Types → WebSphere application servers.
From the list of application servers, click on the server that you are going to deploy Decision Server. For example,
server1.The configuration page for
server1opens.Under Server Infrastructure, expand Java and Process Management and click Process definition.
Figure 3.2. Application server configuration page

Click Java Virtual Machine under Additional Properties.
Figure 3.3. Process definition configuration page

The General Properties for the JVM that is used to start the server page opens.
Change both the Initial heap size and Maximum heap size to
2048. Decision Server has been tested with this value.Figure 3.4. JVM configuration page

- Click Apply.
Click Save in the Messages window to save your changes to the master configuration.
Figure 3.5. Messages pop-up

-
Stop and restart the server in your terminal by navigating to the WebSphere Application Server
/bindirectory location that you specified during installation. Run the following commands:
sudo ./stopServer.sh server1
sudo ./startServer.sh server1
3.2. Enabling security
Enable administrative security so that you have the required permissions to create users and groups.
- In the main menu, click Security → Global Security. Ensure that the option Enable Application Security is checked. This may already be checked and overridden at the server level.
- Click Security Configuration Wizard and click Next.
- Select the repository that contains the user information. For example, select Federated repositories for local configurations.
- Click Next
- Input the Primary administrative user name and Password.
- Click Next then Finish.
Click Save in the Messages window to save your changes to the master configuration.
Figure 3.6. Messages pop-up

-
Stop and restart the server in your terminal by navigating to the WebSphere Application Server
/bindirectory location that you specified during installation. Run the following commands:
sudo ./stopServer.sh server1
sudo ./startServer.sh server1
Figure 3.7. Global Security Configuration Page

3.3. Creating users and groups
Paste
http://TARGET_SERVER:9060/ibm/consolein to your web browser and log in with the user credentials created in the previous procedure. For example:http://localhost:9060/ibm/console.The WebSphere Integrated Solutions Console opens.
- Click Users and Groups → Manage Groups.
Create the
kie-servergroup by clicking Create.Figure 3.8. Created groups

- Click Users and Groups → Manage Users.
Click Create and fill in the user credentials.
ImportantMake sure that the selected User ID does not conflict with any known title of a role or a group.
For example, if there is a role called
kie-server, you should not create a user with the user namekie-server.Figure 3.9. Create User Dialog Window

- Click Group Membership.
-
Assign the user to the
kie-servergroup and click Create.
3.4. Setting up JMS resources
Create a service bus in IBM WebSphere to send and receive JMS messages through the Decision Server if one does not already exist.
3.4.1. Creating the service bus
- Click Service Integration → Buses → New.
- Enter a new bus name and deselect the Bus Security option.
- Click Next and then Finish to create the service bus.
3.4.1.1. Adding a bus member
Add a new bus member, which is a server or a cluster that is added to the service bus.
- Click Service Integration → Buses and click on the service bus that you have created.
- Click Bus Members in the Topology section, and click Add.
- In the Add a New Bus Member wizard, choose the server and the type of message store for persistence. You can also specify the properties of the message store.
- Click Finish to add the new bus member.
3.4.2. Creating JMS connection factories
To send and receive messages from Decision Server, you must create the JMS connection factories. Connection factories are required for establishing connections when sending messages into queues.
Create the KIE.SERVER.REQUEST and KIE.SERVER.RESPONSE connection factories.
The factory names shown above are suggestions only and you can change them to suit your needs and company guidelines.
- Click Resources → JMS → Connection Factories.
- Select the correct scope and click New.
- Select the Default Messaging Provider option and click OK.
Enter the name and the JNDI name of the factory. For example:
-
Name:
KIE.SERVER.REQUEST -
JNDI name:
jms/conn/KIE.SERVER.REQUEST
NoteThe JNDI name for
KIE.SERVER.RESPONSEisjms/conn/KIE.SERVER.RESPONSE.-
Name:
Select the service bus from the Bus Name drop-down list.
Leave the default values for the remaining options.
- Click Apply and Save to save the changes to the master configuration.
3.4.3. Creating JMS queues
JMS queues are the destination end points for point-to-point messaging.
Create the KIE.SERVER.REQUEST (for requests) and KIE.SERVER.RESPONSE (for responses) queues.
- Click Resources → JMS → Queues.
- Select the correct scope and click New.
- Select the Default Messaging Provider option and click OK.
Enter the name and the JNDI name of the queue, for example:
-
Name:
KIE.SERVER.REQUEST -
JNDI name:
jms/KIE.SERVER.REQUEST
NoteAll of the JNDI names follow the same convention as the example above.
-
Name:
- From the Bus Name drop-down list, select the service bus created earlier.
From the Queue Name drop-down list, select the Create Service Integration Bus Destination.
The Create New Queue form opens to assist you with creating a new service integration bus.
- Enter a unique identifier and select the bus member that you created earlier.
- Click Apply and Save to save the changes to the master configuration.
3.4.4. Creating JMS activation specifications
A JMS activation specification is required and is the bridge between the queue and the message-driven bean.
For Decision Server, create the KIE.SERVER.REQUEST (for requests) and KIE.SERVER.RESPONSE (for responses) activation specifications.
- Click Resources → JMS → Activation Specifications.
- Select the correct scope and click New.
- Select the Default Messaging Provider option and click OK.
Enter the name and the JNDI name of the activation specification, for example:
-
Name:
KIE.SERVER.REQUEST -
JNDI name:
jms/activation/KIE.SERVER.REQUEST
NoteAll of the JNDI names of other activation specifications follow the same convention as the example above.
-
Name:
- From the Destination Type drop-down list, select Queue.
-
Enter the Destination lookup (as created in the previous procedure), for example
jms/KIE.SERVER.REQUEST. Select the service bus from the Bus Name drop-down list.
Leave the default values for the remaining options.
- Click Apply and Save to save the changes to the master configuration.
You have successfully completed the JMS configuration required for setting up Decision Server on IBM WebSphere.
3.4.5. Adding custom Java Virtual Machine (JVM) properties
You must add custom properties to the JVM that is used to start IBM WebSphere.
- Click Servers → Server Types → WebSphere Application Servers.
- In the list of application servers, choose the server on which you are going to deploy Decision Server.
- Under the Server Infrastructure, click Java and Process Management → Process Definition.
Click Java Virtual Machine in the Additional Properties section.
This opens the configuration properties for the JVM that is used to start IBM WebSphere.
- Click Custom Properties under Additional Properties.
Create the following properties by clicking New → Custom JVM Properties.
Table 3.1. Required properties for Decision Server
Name Value Description org.jboss.logging.providerjdkThis property is only required where a
CA SiteMinder TAI (SMTAI)is installed in the environment. Using this property forces Hibernate to useJDKinstead oflog4jfor logging within Dashbuilder.CA SiteMinder TAI (SMTAI)contains an old version oflog4j, which causes conflicts.org.apache.wink.jaxbcontextcacheoffThis property ensures that the IBM WebSphere Apache Wink framework does not cache
JAXBContexts, which negatively impacts the performance and interferes with the custom-type serialization for the REST API.kie.server.jms.queues.responsejms/conn/KIE.SERVER.RESPONSEThe JNDI name of connection factory for responses used by the Decision Server.
org.kie.server.domainWSLoginJAAS
LoginContextdomain used to authenticate users when using JMS.org.jbpm.server.ext.disabledtrueDisables Decision Central features, which are not supported in RHDM. If not set, Decision Server will work, but will show error messages during start up.
org.jbpm.ui.server.ext.disabledtrueDisables Decision Central features, which are not supported in RHDM. If not set, Decision Server will work, but will show error messages during start up.
org.jbpm.case.server.ext.disabledtrueDisables Decision Central features, which are not supported in RHDM. If not set, Decision Server will work, but will show error messages during start up.
- Click Save to save the changes to the master configuration.
- Restart IBM WebSphere for these changes to take effect.

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.