Environment Variables(JAVA)

Environment Variables(JAVA)

Tomcat & TomEE:

Variable

Value Example

Description

JAVA_HOME

/usr/java/latest/

A path to the directory with the Java compiler (informational)

JAVA_OPTS_CONFFILE

/opt/tomcat/conf/variables.conf

Path to the variables.conf file

JAVA_VERSION

1.8.0.161

A version of the running Java engine (informational)

Apiqcloud_EXPOSE

0

Disables or enables the auto-redirect functionality with an ability to define required port manually

TOMCAT_SHORT_VERSION

9

A major version of the running Tomcat server (informational)

TOMCAT_VERSION

9.0.5

A minor version of the running Tomcat server (informational)

WEBROOT

/opt/tomcat/webapps/

Sets a path to the directory for application deployment

VERT_SCALING

true

Defines if the default Java GC agent should be enabled (true) or disabled (false)

FULL_GC_AGENT_DEBUG

false

Enables (true) or disables (false) the debug mode to track the Java GC processes in the logs

FULL_GC_PERIOD

60

Sets the interval (in seconds) between the full GC calls; 900 by default, i.e. 15 minutes

G1PERIODIC_GC_INTERVAL

(for openJDK 12/13 only)

3000

A frequency of the G1 Periodic Collection in milliseconds (G1PeriodicGCInterval - 15 minutes by default); set as 0 to disable

G1PERIODIC_GC_SYS_LOAD_THRESHOLD

(for openJDK 12/13 only)

0

Allows G1 Periodic Collection execution, if the average one-minute system load is below the set value; This condition is ignored if set as zero.

Is equal to the {CPU_cores_number}*{GC_SYS_LOAD_THRESHOLD_RATE}by default

GC_SYS_LOAD_THRESHOLD_RATE

(for openJDK 12/13 only)

0.3

Custom multiplier to flexibly adjust the G1PeriodicGCSystemLoadThresholdvalue (0.3 by default)

FULL_GC_AGENT_DEBUG

false

Enables (true) or disables (false) the debug mode to track the Java GC processes in the logs

 GlassFish & Payara:

Variable

Value Example

Description

ADMIN_USER

admin

Login of the admin user for the administration console (informational)

DAS

false

Shows if there is a DAS node (required to configure cluster) for the current layer

GMS_LISTENER_PORT

9090

Port to be used by the group management service (GMS) on nodes (informational)

HAZELCAST_CONFIG

/opt/glassfish/hazelcast.xml

Sets a path to the hazelcast configuration file

HOME_DIR

/home/Apiqcloud

Container home directory (informational)

JAVA_OPTS_CONFFILE

/opt/glassfish/glassfish/domains/domain1/config/variables.conf

Path to the variables.conf file

JAVA_VERSION

1.8.0.144

A version of the running Java engine (informational)

Apiqcloud_PRIORITY_PORTS

28080

Sets a GlassFish HTTP listener port

ON_ENV_INSTALL

https://raw.githubusercontent.com/Apiqcloud-jps/glassfish/master/addons/auto-cluster.jps

A script to be executed after environment creation

PORT_4848_TCP_PORT

4848

Port for admin console (informational)

PSWD_FILE

/home/Apiqcloud/.ssh/pwdfile

Path to the file with the admin user password (informational)

WEBROOT

/opt/glassfish/glassfish/domains/domain1/applications

Sets a path to the directory for application deployment

VERT_SCALING

true

Enables (true) or disables (false) the debug mode to track the Java GC processes in the logs

<span style="font-size: 10.5pt; font-family: georgia, palatino, serif; color: #333333; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal;

  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

Share Environment

Share Environment A client who originally created an environment becomes its Owner and share...

Clone Environment

Cloning Environment Apiqcloud provides multiple environments in just a few clicks, like...

Create Environment

How to Create your Apiqcloud Environment Firstly,  you need to create an appropriate...

Environment Aliases

Environment Aliases To ease the process of management, creating alternative (alias) for an...

Enviornment Variables

Environment Variables: To store the values of the frequently used parameters environment...