Bulk export error due to OS encoding conflict

ImageMaster supports a feature called “Bulk export”, which is described in the AdminClient user manual [UM AdminClient]. In combination with WildFly, export failures have been observed, resulting in log entries such as the following:

(#|2024-10-30T10:46:18.085Z|SEVERE|212|com.tsystems.ima.client.presentation.compliance.boundary.ComplianceProcessExecutor|IMA9-CLS-{c576e6b0-e6c9-4c53-b3c8-4e5ea8d83dfd}|unnamedTenant1|powerUser|CLS-00101: An internal error occurred: InvalidPathException: Malformed input or input contains unmappable characters: /tmp/bulkExport_2024-10-30_10-46-15-877/types/1ee17d60-96ac-11ef-87a1-0242ac116f08/Ö.txt. com.tsystems.ima.client.exceptions.ClientException: CLS-00101: An internal error occurred: InvalidPathException: Malformed input or input contains unmappable characters: /tmp/bulkExport_2024-10-30_10-46-15-877/types/1ee17d60-96ac-11ef-87a1-0242ac116f08/Ö.txt.

In this scenario, the error occurs due to a conflict between a special character in the export file's filename and the encoding settings of the application server's operating system.

To prevent this issue, ensure that the LANG environment variable is correctly set on your operating system. For example, to set it to UTF-8, use LANG=C.UTF-8.