CA Release Automation - Release Operations Center (Nolio)CA Release Automation - DataManagement Server (Nolio)
Issue/Introduction
During Release Automation installation or Agent installation on a RedHat v7.4 machine, the install fails with an java.lang.ArrayIndexOutOfBoundsException.
Cause
RedHat v7.4 (upgraded from v7.3 or fresh install) comes with package "stix-fonts". When this package is installed, the default font is changed from "Utopia" to "STIX". So, java now default fonts are mapped to "STIX", including the "sans-serif" font family. The "STIX" fonts do not seem to play well with java and causes exceptions and bad calculated artifact positioning.
Environment
All supported Release Automation version on RedHat v7.4
Resolution
The default font needs to be changed back to Utopia.
Create this file: /etc/fonts/local.conf
With the following contents: <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <alias> <family>serif</family> <prefer><family>Utopia</family></prefer> </alias> <alias> <family>sans-serif</family> <prefer><family>Utopia</family></prefer> </alias> <alias> <family>monospace</family> <prefer><family>Utopia</family></prefer> </alias> <alias> <family>dialog</family> <prefer><family>Utopia</family></prefer> </alias> <alias> <family>dialoginput</family> <prefer><family>Utopia</family></prefer> </alias> </fontconfig>