Skip to main content
Skip table of contents

Savepoint Configuration for the X4 Server

This page provides information on configuring savepoints for the X4 Server.

Configuring Save Points

The configuration of savepoints for the X4 server is possible via the X4config.xml with the parameters described on this page.

Note:

If the savepoint element is omitted from the X4config.xml, no savepoints are saved.

Sample logging configuration

XML
<savepoint storage="database"></savepoint>

Parameters of the savepoint element

Attribute

Description

storage

Defines the location for processing savepoints in the X4 Server.

Possible values:

  • filesystem : Save points are written to the file system, to thesavepoints server directory.

  • database : Save points are written to the X4 system database.

Increasing or removing the size limit for savepoints

The X4 BPMS uses a WildFly version that throws an error when objects larger than 10 MB are loaded at savepoints, for example, after the manual processing of human tasks within a process.

To prevent this error, you must increase the size limit of the filter or disable the filter.

How to proceed in Windows

If you are using the X4 BPMS in Windows, follow these steps.

How to disable the filter

  1. Open the standalone.conf.bat file in the \<installation_directory>\server\wildfly\bin folder in any editor.

  2. Uncomment the line rem set "DISABLE_JDK_SERIAL_FILTER=true".

  3. Save the file and restart the X4 Server.

How to increase the size limit

  1. Open the standalone.conf.bat file in the \<installation_directory>\server\wildfly\bin folder in any editor.

  2. Increase the value jdk_SERIAL_FILTER=maxbytes=10485760 to the desired number of byte, for example:

    CODE
    rem # Default JDK_SERIAL_FILTER settings
    if "x%JDK_SERIAL_FILTER%" == "x" (
      set "JDK_SERIAL_FILTER=maxbytes=20485760;maxdepth=128;maxarray=100000;maxrefs=300000"
    )
  3. Save the file and restart the X4 Server.

How to proceed in Linux

If you are using the X4 BPMS in Linux, follow these steps.

How to disable the filter

  1. Open the standalone.conf file in the \<installation_directory>\server\wildfly\bin folder in any editor.

  2. Uncomment the line rem set "DISABLE_JDK_SERIAL_FILTER=true".

  3. Save the file and restart the X4 Server.

How to increase the size limit

  1. Open the standalone.conf file in the \<installation_directory>\server\wildfly\bin folder in any editor.

  2. Increase the value jdk_SERIAL_FILTER=maxbytes=10485760 to the desired number of byte, for example:

    CODE
    rem # Default JDK_SERIAL_FILTER settings
    if "x%JDK_SERIAL_FILTER%" == "x" (
      set "JDK_SERIAL_FILTER=maxbytes=20485760;maxdepth=128;maxarray=100000;maxrefs=300000"
    )
  3. Save the file and restart the X4 Server.

JavaScript errors detected

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

If this problem persists, please contact our support.