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.

Note

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:

    1. 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.
    2. Unzip the rhpam-7.1.0-add-ons.zip file. The rhpam-7.1-process_server-jws.zip file is in the unzipped directory.

Procedure

  1. Extract the rhpam-7.1-process_server-jws.zip archive to a temporary directory. In the following examples this directory is called TEMP_DIR.
  2. Copy the TEMP_DIR/rhpam-7.1-process_server-jws/kie-server.war directory to the JWS_HOME/tomcat/webapps directory.

    Warning

    Ensure 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.

  3. Remove the .war extensions from the kie-server.war folder.
  4. Open the JWS_HOME/tomcat/conf/tomcat-users.xml file in a text editor.
  5. 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"/>
  6. In the JWS_HOME/tomcat/bin directory, create a readable setenv.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"

    Important

    On 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""

  7. 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
  8. After a few minutes, review the the JWS_HOME/tomcat/logs directory and correct any errors.
  9. 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 the tomcat-users.xml file.

    The output of this command provides information about the Process Server instance.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.