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
<savepoint storage="database"></savepoint>
Parameters of the savepoint element
Attribute | Description |
|---|---|
| Defines the location for processing savepoints in the X4 Server. Possible values:
|
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
Open the
standalone.conf.batfile in the\<installation_directory>\server\wildfly\binfolder in any editor.Uncomment the line
rem set "DISABLE_JDK_SERIAL_FILTER=true".Save the file and restart the X4 Server.
How to increase the size limit
Open the
standalone.conf.batfile in the\<installation_directory>\server\wildfly\binfolder in any editor.Increase the value
jdk_SERIAL_FILTER=maxbytes=10485760to the desired number of byte, for example:CODErem # Default JDK_SERIAL_FILTER settings if "x%JDK_SERIAL_FILTER%" == "x" ( set "JDK_SERIAL_FILTER=maxbytes=20485760;maxdepth=128;maxarray=100000;maxrefs=300000" )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
Open the
standalone.conffile in the\<installation_directory>\server\wildfly\binfolder in any editor.Uncomment the line
rem set "DISABLE_JDK_SERIAL_FILTER=true".Save the file and restart the X4 Server.
How to increase the size limit
Open the
standalone.conffile in the\<installation_directory>\server\wildfly\binfolder in any editor.Increase the value
jdk_SERIAL_FILTER=maxbytes=10485760to the desired number of byte, for example:CODErem # Default JDK_SERIAL_FILTER settings if "x%JDK_SERIAL_FILTER%" == "x" ( set "JDK_SERIAL_FILTER=maxbytes=20485760;maxdepth=128;maxarray=100000;maxrefs=300000" )Save the file and restart the X4 Server.