Este conteúdo não está disponível no idioma selecionado.
Chapter 4. Decision Server ZIP file installation and configuration
You can install Decision Server using the rhdm-7.5-kie-server-jws.zip file available from the Red Hat Decision Manager 7.5.1 Add Ons (rhdm-7.5.1-add-ons.zip) file on the Customer Portal .
4.1. Installing Decision Server from ZIP files Copiar o linkLink copiado para a área de transferência!
Decision Server provides the runtime environment for business assets and accesses the data stored in the assets repository (knowledge store). You can use ZIP files to install Decision Server on an existing Red Hat JBoss Web Server 5.1.0 server instance.
To use the installer JAR file to install Decision Server, see Chapter 3, Using the Red Hat Decision Manager installer.
-
The Red Hat Decision Manager 7.5.1 Add Ons (
rhdm-7.5.1-add-ons.zip) file has been downloaded, as described in Chapter 2, Downloading the Red Hat Decision Manager installation files. -
A backed-up Red Hat JBoss Web Server 5.1.0 server installation is available. The base directory of the Red Hat JBoss Web Server installation is referred to as
JWS_HOME. - Sufficient user permissions to complete the installation are granted.
Procedure
-
Unzip the
rhdm-7.5.1-add-ons.zipfile. From the unzipped
rhdm-7.5.1-add-ons.zipfile, extract the following files:-
rhdm-7.5-kie-server-jws.zip -
rhdm-7.5-decision-engine.zip
In the following instructions, the directory that contains the extracted
rhdm-7.5-kie-server-jws.zipfile is calledJWS_TEMP_DIRand the directory that contains the extractedrhdm-7.5-decision-engine.zipfile is calledENGINE_TEMP_DIR.-
Copy the
JWS_TEMP_DIR/rhdm-7.5-kie-server-jws/kie-server.wardirectory to theJWS_HOME/tomcat/webappsdirectory.NoteEnsure the names of the Red Hat Decision Manager deployments you copy do not conflict with your existing deployments in the Red Hat JBoss Web Server instance.
-
Remove the
.warextensions from thekie-server.warfolder. -
Move the
kie-tomcat-integration-7.26.0.Final-redhat-00005.jarfile from theENGINE_TEMP_DIRdirectory to theJWS_HOME/tomcat/libdirectory. -
Move the
jboss-jacc-api-<VERSION>.jar,slf4j-api-<VERSION>.jar, andslf4j-jdk14-<VERSION>.jarfiles from theENGINE_TEMP_DIR/libdirectory to theJWS_HOME/tomcat/libdirectory, where<VERSION>is the version artifact file name, in thelibdirectory. Add the following line to the
<host>element in theJWS_HOME/tomcat/conf/server.xmlfile after the last Valve definition:<Valve className="org.kie.integration.tomcat.JACCValve" />
<Valve className="org.kie.integration.tomcat.JACCValve" />Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
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>are the user name and password of your choice:<role rolename="<ROLE_NAME>"/> <user username="<USER_NAME>" password="<USER_PWD>" roles="<ROLE_NAME>"/>
<role rolename="<ROLE_NAME>"/> <user username="<USER_NAME>" password="<USER_PWD>" roles="<ROLE_NAME>"/>Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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"/>
<role rolename="admin"/> <role rolename="kie-server"/> <user username="rhdmUser" password="user1234" roles="admin,kie-server"/>Copy to Clipboard Copied! Toggle word wrap Toggle overflow Complete one of the following steps in the
JWS_HOME/tomcat/bindirectory:On Linux or UNIX, create the
setenv.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"
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"Copy to Clipboard Copied! Toggle word wrap Toggle overflow On Windows, add the following content 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
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=trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow