Este conteúdo não está disponível no idioma selecionado.
Chapter 5. Installing and running Process Server with IBM WebSphere Application Server
After you have configured all required system properties in IBM WebSphere Application Server, you can install Process Server with IBM WebSphere to streamline Red Hat Process Automation Manager application management.
Prerequisite
An IBM WebSphere Application Server instance is configured as described in Chapter 4, Configuring IBM WebSphere Application Server for Process Server.
Procedure
Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options:
- Product: Process Automation Manager
- Version: 7.3
- Download Red Hat Process Automation Manager 7.3.0 Process Server for All Supported EE7 Containers.
-
Extract the
rhpam-7.3.0-kie-server-ee7.ziparchive to a temporary directory. In the following examples this directory is calledTEMP_DIR. Repackage the
kie-server.wardirectory:-
Navigate to the
TEMP_DIR/rhpam-7.3.0-kie-server-ee7/kie-server.wardirectory. -
Select the contents of the
TEMP_DIR/rhpam-7.3.0-kie-server-ee7/kie-server.wardirectory and create thekie-server.zipfile. -
Rename
kie-server.ziptokie-server.war. This is the file that you will use to deploy Process Server. -
If desired, copy the new
kie-server.warfile to a location that is more convenient to deploy from.
-
Navigate to the
-
In the WebSphere Integrated Solutions Console, navigate to Applications
Application Types WebSphere Enterprise Applications. - Click Install.
-
Navigate to the
kie-server.warfile that you repackaged and select it to upload. Select Fast Path and click Next.
The Install New Application wizard opens.
-
Change the Application Name to
kie-serverand click Next. - Map the Process Server modules to servers according to your specific requirements and click Next.
-
For Bind Listeners for Message-Driven Beans, select Activation Specification for both beans, enter
jms/activation/KIE.SERVER.REQUESTin the Target Resource JNDI Name field, and enter thejms/cf/KIE.SERVER.REQUESTJNDI name for theKIE.SERVER.REQUESTconnection factory. - In the Map Virtual Hosts for Web Modules section, keep the default values and click Next.
-
Set the context root to
kie-server. - In the Metadata for Modules section, keep the default values and click Next.
- Click Finish to install Process Server and click Save to save the changes to the master configuration.
5.1. Creating the Process Server group and role Copiar o linkLink copiado para a área de transferência!
After Process Server is installed, you must create the kie-server group and a user.
Prerequisite
- Process Server is installed on the IBM WebSphere Application Server instance.
Procedure
-
In the WebSphere Integrated Solutions Console, click Users and Groups
Manage Groups. - In the Manage Groups screen, click Create.
-
In the Create a Group screen, enter
kie-serverin the Group name box, then click Create. -
To create a user to add to the
kie-servergroup, click Users and GroupsManage Users. - In the Create a User screen, complete the required information.
- Click Group Membership.
-
In the Group Membership screen, click
kie-server, move it to Mapped To, and click Close. - On the Create a User screen click Create.
5.2. Mapping the Process Server group and role Copiar o linkLink copiado para a área de transferência!
After Process Server is installed, you must map the kie-server role to the kie-server group in the WebSphere Integrated Solutions Console to run Process Server.
Prerequisites
- Process Server is installed on the IBM WebSphere Application Server instance.
-
IBM WebSphere Application Server has the
kie-servergroup with at least one user.
Procedure
-
In the WebSphere Integrated Solutions Console, navigate to Applications
Application Types WebSphere Enterprise Applications and select the newly installed kie-serverapplication. - Under Detail Properties, click Security Role to User/Group Mapping.
-
Select the
kie-serverrole and click Map Groups to search for thekie-servergroup. Move the
kie-servergroup from the Available list to the Selected list and click OK.This mapping gives users in the IBM WebSphere Application Server
kie-servergroup access to Process Server.- Click Save to complete the mapping.
5.3. Configuring class loading for Process Server Copiar o linkLink copiado para a área de transferência!
After Process Server is installed, you must configure class loading to set parent classes to load last.
Procedure
-
Navigate to Applications
Application Types WebSphere Enterprise Applications and click kie-server. - Click Class Loading and Update Detection under the Detail Properties heading on the left.
- 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 the changes to the master configuration.
5.4. Verifying the installation Copiar o linkLink copiado para a área de transferência!
After you install Process Server and define the Process Server group mapping, verify that the server is running.
Prerequisites
- Process Server is installed on the IBM WebSphere Application Server instance.
- You have set all required system properties for the headless Process Automation Manager controller.
- You have defined the Process Server group mapping in IBM WebSphere Application Server.
Procedure
Navigate to the Process Server URL http://<HOST>:<PORT>/kie-server to verify that the server is running, or send a GET request to http://<HOST>:<PORT>/kie-server/services/rest/server to check whether the Process Server REST API responds.
<HOST> is the ID or name of the Process Server host, for example, localhost or 192.7.8.9.
<PORT> is the port of the Process Server host, for example, 9060.
If Process Server is not running, stop and restart the IBM WebSphere Application Server instance and try again to access the Process Server URL or API.