Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

Deploying BPC Modules and Themes

There are several methods for deploying a module or theme. The following provides a comprehensive overview of all available options. For detailed instructions on deploying BPC instances, including configuring target systems and using the deployment wizard, see Deployment.

Deployment via the deploy folder

The generated WAR file should be copied to the deploy folder on the Karaf server.

  • Manually
    copy the WAR file from the respective repository folder/build and paste it into karaf-4.x.x/deploy.

  • Via Terminal
    , e.g., using the command
    cp build/bpc-theme-template.war /usr/local/opt/bpc/karaf-4.2.0-SNAPSHOT/deploy

Deployment via the module upload in BPC

The WAR file can also be uploaded via the BPC user interface:

To do this, open the Global Menu > About Business Process Center.

The button for module upload is located in the window that opens:

module upload deployment

Deployment via SSH

Prerequisites

To successfully complete the deployment process, the following prerequisites must be met:

  • Public/private key authentication is set up.
    You can find the generated key in the directory ~/.ssh.

    Alternatively, you can also use username and password authentication. Make sure that the "ssh" role is set for the user in the file users.properties.

  • Your public SSH key is stored on the server.
    The key must be copied to the file ~/.ssh/authorized_keys on the target server. This can be done by an administrator or an authorized person.

Deployment and Building the Module

  1. Build the module to test whether everything is working:

    • On Linux/Mac: ./gradlew --stacktrace

    • On Windows: gradlew --stacktrace

  2. Use scp (Secure Copy Protocol) to transfer the WAR file from your local computer to the target server.
    The default port is 8101.

    scp -P PORT PFAD/ZUR/DATEI USER@SERVER:/deploy

    Example:

    scp -P 8101 path/to/local/war/mywar.war virtimo@<ip_address>:/deploy

Your build artifact has now been successfully deployed to the BPC system and activated immediately.

Using the Deployment, you can transfer individual modules and BPC configurations from one BPC installation to another within the BPC.