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)

CloudJiffy_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/CloudJiffy

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)

CloudJiffy_PRIORITY_PORTS

28080

Sets a GlassFish HTTP listener port

ON_ENV_INSTALL

https://raw.githubusercontent.com/CloudJiffy-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/CloudJiffy/.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

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 7868