KB-1971 Hotfix does not keep Java permissions

Symptoms

After applying Hotfix Package D/E for Appian version 19.1 or Hotfix Package B for Appian version 19.2, the following error is observed after starting the Appian engines:

ERROR: JAVA_HOME is set to an invalid directory: /<APPIAN_HOME>/java  Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

Cause

The hotfixes mentioned above modify the permissions of the contents of <APPIAN_HOME>/java to not have execute privileges.

This issue has been reported to the Appian Product Team. The reference number for this issue is INFRA-8773.

Workaround

Run the following command in <APPIAN_HOME> after applying the hotfix:

chmod +x ./java/bin/*

Affected Versions

This article applies to self-managed Appian installations using the out of the box Java distribution on the following hotfixes:

  • Appian version 19.1 Hotfix Package D and E
  • Appian version 19.2 Hotfix Package B 
Related
Recommended