Chapter 5. Decision Server ZIP installation
Decision Server provides the runtime environment for business assets and accesses the data stored in the assets repository (knowledge store). This section explains how to use the ZIP file to install Decision Server on an existing Red Hat JBoss Web Server 5.0 instance.
To use the installer JAR file to install Decision Server, see Chapter 4, Using the Red Hat Decision Manager installer.
Prerequisites
-
A backed-up Red Hat JBoss Web Server 5.0 or higher server installation is available. The base directory of the JBoss Web Server installation is referred to as
JWS_HOME. - Sufficient user permissions to complete the installation are granted.
The
rhdm-7.1-decision_server-jws.zipfile. To download this file:- Click Download next to Red Hat Decision Manager 7.1.0 Add Ons on the Product Downloads page of the Red Hat Customer Portal.
-
Unzip the
rhdm-7.1.0-add-ons.zipfile. Therhdm-7.1-decision_server-jws.zipfile is in the unzipped directory.
Procedure
-
Extract the
rhdm-7.1-decision_server-jws.ziparchive to a temporary directory. In the following examples this directory is calledTEMP_DIR. Copy the
TEMP_DIR/rhdm-7.1-decision_server-jws/kie-server.wardirectory to theJWS_HOME/tomcat/webappsdirectory.WarningEnsure the names of the Red Hat Decision Manager deployments you are copying do not conflict with your existing deployments in the Red Hat JBoss Web Server instance.
-
Remove the
.warextensions from thekie-server.warfolder. -
Open the
JWS_HOME/tomcat/conf/tomcat-users.xmlfile in a text editor. Add users and roles to the
JWS_HOME/tomcat/conf/tomcat-users.xmlfile. In the following example,<ROLE_NAME>is a role supported by Red Hat Decision Manager.<USER_NAME>and<USER_PWD>is a user and password combination of your choice:<role rolename="<ROLE_NAME>"/> <user username="<USER_NAME> password="<USER_PWD>" roles="<ROLE_NAME>"/>
If a user has more than one role, as shown in the following example, separate the roles with a comma:
<role rolename="admin"/> <role rolename="kie-server"/> <user username=rhdmUser password="user1234" roles="admin,kie-server"/>
In the
JWS_HOME/tomcat/bindirectory, create a readablesetenv.shfile with the following content:CATALINA_OPTS="-Xmx1024m -Dorg.jboss.logging.provider=jdk -Dorg.jbpm.server.ext.disabled=true -Dorg.jbpm.ui.server.ext.disabled=true -Dorg.jbpm.case.server.ext.disabled=true"ImportantOn Microsoft Windows, add the following values to the
setenv.batfile:set "CATALINA_OPTS="-Xmx1024m -Dorg.jboss.logging.provider=jdk -Dorg.jbpm.server.ext.disabled=true -Dorg.jbpm.ui.server.ext.disabled=true -Dorg.jbpm.case.server.ext.disabled=true""To start JBoss Web Server, enter one of the following commands in the
JWS_HOME/tomcat/bindirectory:On Linux or UNIX-based systems:
$ ./startup.sh
On Windows:
startup.bat
-
After a few minutes, review the the
JWS_HOME/tomcat/logsdirectory and correct any errors. To verify that Decision Server is working on Red Hat JBoss Web Server, enter the following command:
curl -X GET "http://localhost:8080/kie-server/services/rest/server" -H "accept: application/xml" -u '<USER_NAME>:<USER_PWD>'
In this command, replace
<USER_NAME>and<USER_PWD>with the values in thetomcat-users.xmlfile.The output of this command provides information about the Decision Server instance.

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.