Skip to main content
Skip table of contents

Option 2: Updating the X4 Server

General Information

With this option, you can only update the X4 Server without updating the X4DB folder, the X4 database and the Keycloak database.

The following steps are performed:

  1. Backup of the existing X4 server

  2. Unpacking of the new X4 Server installation

  3. Copying of the X4DB folder into the new installation

  4. Copying of the configurations and deployments folders into the new installation

  5. Migration of configurations (de.softproject.x4.database.X4ConfigurationMigration )

  6. Migration of Keyloak

  7. Migration of Wildfly expansion modules

Note on updating custom files

Custom files (e.g. adapters, extensions, modules) that  are NOT stored in the <Server_directory>\wildfly\modules\system\layers\base\de\softproject\x4\extensions\main\module.xml folder will NOT be migrated!

These files must be migrated manually by saving them here: <Server_directory>\Server\wildfly\modules\de\softproject\extensions\main\module.xml.

If you have also made changes in Wildfly, for example, in the standalone.xml file, these changes will not be adopted and must be done manually.

Steps in detail

The Update Tool guides you through the individual steps:

The Update Tool guides you through the individual steps:

  1. Backup your X4 Server
    Backup: <Folder>\X4_7-3-1_Release\Server_bak_2024-02-29_12-56-19 successfully created

  2. Unzip your X4 server installation
    Successfully unzipped to (→ successfully unzipped to): <Folder>\X4_7-3-1_Release\Server

  3. Copy your X4DB folder
    Successfully copied
    <Folder>\X4_7-3-1_Release\Server_bak_2024-02-29_12-56-19\X4DB to <Folder>\X4_7-3-1_Release\Server\X4DB

  4. Copy your configurations and deployments folders.
    Successfully copied
    <Folder>\X4_7-3-1_Release\Server_bak_2024-02-29_12-56-19\configurations
    to
    <Folder>\X4_7-3-1_Release\Server\configurations
    Successfully copied
    <Folder>\X4_7-3-1_Release\Server_bak_2024-02-29_12-56-19\deployments
    to
    <Ordner>\X4_7-3-1_Release\Server\deployments

  5. Migrate your configurations

Update Tool Note for the Configuration Migration (de.softproject.x4.database.X4ConfigurationMigration ):

  1. Make sure the memory settings have been adjusted to the new X4 version and meet the minimum requirements:

    1. Check the startX4.bat file for Windows installations and the X4 Server File file for Linux installations.

    2. Check the standalone.conf.bat file for Windows installations if the X4 server is installed as a service.

  2. Check the standalone.xml file to ensure that the <datasources> are configured correctly.

  3. For Oracle database installations:

    1. After the migration, you need to install the appropriate driver. You can find more information on how to set up an Oracle database here: (7.4.0-en) Setting up an Oracle database .

  4. Any configuration files that are not part of X4 will not be migrated. You need to migrate these manually.

  1. Migrate your Keycloak
    Successfully migrate keycloak to the current installation (update tool message) 

  2. Migrate your WildFly extensions modules

This migration applies to a migration from X4 BPMS version 7.3.x to X4 BPMS 7.4.x.

The Wildfly Extension modules are moved from

<Server_directory>\wildfly\modules\system\layers\base\de\softproject\x4\extensions

to

<Server_directory>\wildfly\modules\de\softproject\extensions

Custom dependencies and resources are also moved:

  • Path before migration: <Server_directory>\wildfly\modules\system\layers\base\de\customer\custom\adapter

  • Path after migration: <Server_directory>\wildfly\modules\de\customer\custom\adapter

If you have made changes to your Wildfly, for example, in the standalone.xml file, thes changes are not adopted and need be done manually.

  1.  After the migration, check whether your custom changes from <Folder>\X4_7-3-1_Release\Server_bak_2024-02-29_12-56-19\wildfly\modules\system\layers\base\de\softproject\x4\extensions\main\module.xml (e. g. custom adapters, implementations, and extensions) have been applied correctly and migrated to the new location: <Folder>\X4_7-3-1_Release\Server\wildfly\modules\de\softproject\extensions\main\module.xml.

After a successful update, the Update Tool generates a message:

Completed. BYE BYE!

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.