This is documentation for Apprenda 7 and 8.
Documentation for newer version is available at

Environment Variables and System Properties for Java Applications

The ability to set Environment Variables and System Properties for Java guest applications at runtime is provided by the Apprenda Platform primarily for compatibility with 3rd-party or legacy Java applications which require specific environment or system settings to be present in order to function.

Environment Variables

Environment Variables listed in an app's Deployment Manifest are set on the servlet container process at application startup time. They can be accessed using Java’s System.getEnv() methods (see this link for more info).  Names are subject to operating system limitations on Environment Variables (see here for more information about that).

The Hosting.Linux.EnvVarPathBase Registry Setting can be set by your Platform Operator to prepend a base path to the $PATH variable.  If no value is configured for this setting, the default value of /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin will be used.

System Properties

System Properties specified within an app's Deployment Manifest will be loaded into the application’s JRE and are available using Java’s System.getProperty() method (see here and here for more information).  Values must be escaped properly as Java string literals (for more information, see this link).