このコンテンツは選択した言語では利用できません。
Chapter 5. Process Server ZIP installation
Process 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 Process Server on an existing Red Hat JBoss Web Server 5.0 instance.
To use the installer JAR file to install Process Server, see Chapter 4, Using the Red Hat Process Automation 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
rhpam-7.1-process_server-jws.zip
file. To download this file:- Click Download next to Red Hat Process Automation Manager 7.1.0 Add Ons on the Product Downloads page of the Red Hat Customer Portal.
-
Unzip the
rhpam-7.1.0-add-ons.zip
file. Therhpam-7.1-process_server-jws.zip
file is in the unzipped directory.
Procedure
-
Extract the
rhpam-7.1-process_server-jws.zip
archive to a temporary directory. In the following examples this directory is calledTEMP_DIR
. Copy the
TEMP_DIR/rhpam-7.1-process_server-jws/kie-server.war
directory to theJWS_HOME/tomcat/webapps
directory.WarningEnsure the names of the Red Hat Process Automation Manager deployments you are copying do not conflict with your existing deployments in the Red Hat JBoss Web Server instance.
-
Remove the
.war
extensions from thekie-server.war
folder. -
Open the
JWS_HOME/tomcat/conf/tomcat-users.xml
file in a text editor. Add users and roles to the
JWS_HOME/tomcat/conf/tomcat-users.xml
file. In the following example,<ROLE_NAME>
is a role supported by Red Hat Process Automation 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=rhpamUser password="user1234" roles="admin,kie-server"/>
In the
JWS_HOME/tomcat/bin
directory, create a readablesetenv.sh
file 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.bat
file: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/bin
directory:On Linux or UNIX-based systems:
$ ./startup.sh
On Windows:
startup.bat
-
After a few minutes, review the the
JWS_HOME/tomcat/logs
directory and correct any errors. To verify that Process 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.xml
file.The output of this command provides information about the Process Server instance.