Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 10. Configuring Process Server Managed by Business Central
This section provides a sample setup that you can use for testing purposes. Some of the values are unsuitable for a production environment, and are marked as such.
Use this procedure to configure Business Central to manage a Process Server instance.
Prerequisite
Users with the following roles exist:
-
In Business Central, a user with the role
rest-all. -
On the Process Server, a user with the role
kie-server.
In production environments, use two distinct users, each with one role. In this sample situation, we use only one user named controllerUser that has both the rest-all and the kie-server roles.
Procedure
Set the following JVM properties.
The location of Business Central and the Process Server may be different. In such case, ensure you set the properties on the correct server instances.
On Red Hat JBoss EAP, modify the
<system-properties>section in:-
EAP_HOME/standalone/configuration/standalone*.xmlfor standalone mode. -
EAP_HOME/domain/configuration/domain.xmlfor domain mode.
-
Expand Table 10.1. JVM Properties for Process Server Instance Property Value Note org.kie.server.iddefault-kie-serverThe Process Server ID.
org.kie.server.controllerhttp://localhost:8080/business-central/rest/controllerThe location of Business Central.
org.kie.server.controller.usercontrollerUserThe user name with the role
rest-allas mentioned in the previous step.org.kie.server.controller.pwdcontrollerUser1234;The password of the user mentioned in the previous step.
org.kie.server.locationhttp://localhost:8080/kie-server/services/rest/serverThe location of the Process Server.
Expand Table 10.2. JVM Properties for Business Central Instance Property Value Note org.kie.server.usercontrollerUserThe user name with the role
kie-serveras mentioned in the previous step.org.kie.server.pwdcontrollerUser1234;The password of the user mentioned in the previous step.
Verify the successful start of the Process Server by sending a GET request to
http://SERVER:PORT/kie-server/services/rest/server/. Once authenticated, you get an XML response similar to this:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify successful registration:
- Log in to Business Central.
Click Menu
Deploy Execution Servers. If registration is successful, you can see the registered server ID.
10.1. Configuring Smart Router for TLS support Copier lienLien copié sur presse-papiers!
You can now configure Smart Router (previously, KIE Server Router) for TLS support to allow HTTPS traffic.
Procedure
Open a terminal and enter the following command to start the smart router with TLS support:
java -Dorg.kie.server.router.tls.keystore=PATH_TO_YOUR_KEYSTORE -Dorg.kie.server.router.tls.keystore.password=YOUR_KEYSTORE_PASSWD -Dorg.kie.server.router.tls.keystore.keyalias=YOUR_KEYSTORE_ALIAS -jar kie-server-router-proxy-YOUR_VERSION.jarjava -Dorg.kie.server.router.tls.keystore=PATH_TO_YOUR_KEYSTORE -Dorg.kie.server.router.tls.keystore.password=YOUR_KEYSTORE_PASSWD -Dorg.kie.server.router.tls.keystore.keyalias=YOUR_KEYSTORE_ALIAS -jar kie-server-router-proxy-YOUR_VERSION.jarCopy to Clipboard Copied! Toggle word wrap Toggle overflow Replace
PATH_TO_YOUR_KEYSTORE,YOUR_KEYSTORE_PASSWD,YOUR_KEYSTORE_ALIAS, andYOUR_VERSIONwith the relevant data.