Este conteúdo não está disponível no idioma selecionado.
Chapter 40. Configuring and running standalone Business Central
You can use the Business Central standalone JAR file to run Business Central without deploying it to an application server. You can use sample configuration files to run the Business Central standalone JAR file out of the box or you can customize the sampfiles for your requirements.
This JAR file is supported only when it is run on Red Hat Enterprise Linux.
Prerequisites
-
The Red Hat Process Automation Manager 7.11.0 Business Central Standalone (
rhpam-7.11.0-business-central-standalone.jar
) and the Red Hat Process Automation Manager 7.11.0 Add Ons (rhpam-7.11.0-add-ons.zip
) files have been downloaded from the Software Downloads page for Red Hat Process Automation Manager 7.11, as described in Chapter 34, Downloading the Red Hat Process Automation Manager installation files.
Procedure
-
Extract the downloaded
rhpam-7.11.0-addons.zip
to a temporary directory. This archive includes therhpam-7.11.0-standalone-sample-configuration.zip
file. Extract the
rhpam-7.11.0-standalone-sample-configuration.zip
file to the directory that contains therhpam-7.11.0-business-central-standalone.jar
file. Therhpam-7.11.0-standalone-sample-configuration.zip
file contains the following sample configuration files:-
application-roles.properties
-
application-users.properties
sample-standalone-config.yml
You can run the
rhpam-7.11.0-business-central-standalone.jar
files with the sample data provided in the configuration files or you can customize the data for your requirements.
-
To customize the configuration data, complete the following steps:
Edit the
application-users.properties
file. Include an administrative user and if this Business Central instance will be a Process Automation Manager controller for KIE Server, include a Process Automation Manager controller user, for example:rhpamAdmin=password1
rhpamAdmin=password1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Edit the
application-roles.properties
file to assign roles to the users that you included in theapplication-users.properties
file, for example:rhpamAdmin=admin controllerUser=kie-server
rhpamAdmin=admin controllerUser=kie-server
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For more information, see Section 33.2, “Red Hat Process Automation Manager roles and users”.
-
Review the contents of the
sample-standalone-config.yml
configuration file and update as required.
To run the Business Central standalone JAR file, enter the following command:
java -jar rhpam-7.11.0-business-central-standalone.jar -s sample-standalone-config.yml
java -jar rhpam-7.11.0-business-central-standalone.jar -s sample-standalone-config.yml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To set application properties when you run the JAR file, include the
-D<PROPERTY>=<VALUE>
parameter in the command, where<PROPERTY>
is the name of a supported application property and<VALUE>
is the property value:java -jar rhpam-7.11.0-business-central-standalone.jar -s sample-standalone-config.yml -D<PROPERTY>=<VALUE> -D<PROPERTY>=<VALUE>
java -jar rhpam-7.11.0-business-central-standalone.jar -s sample-standalone-config.yml -D<PROPERTY>=<VALUE> -D<PROPERTY>=<VALUE>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example, to run Business Central and connect to KIE Server as the user
controllerUser
, enter:java -jar rhpam-7.11.0-business-central-standalone.jar \ -s sample-standalone-config.yml \ -Dorg.kie.server.user=controllerUser -Dorg.kie.server.pwd=controllerUser1234
java -jar rhpam-7.11.0-business-central-standalone.jar \ -s sample-standalone-config.yml \ -Dorg.kie.server.user=controllerUser -Dorg.kie.server.pwd=controllerUser1234
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Doing this enables you to deploy containers to KIE Server. See Appendix A, Business Central system properties for more information.