Environment Variable Prerequisites
#
# do not set the variables in this script. Instead put them into a script
# setenv.sh in Catalina_base/bin to keep your customizations separate.## CATALINA CATALINA is Apache Tomcat implemented serv Let container # # Catalina_home may point at your CATALINA "build" directory.# tomcat installation directory, such as/usr/apache-tomcat- 7.0.36/#
# catalina_base (Optional) BASE directory for resolving dynamic portions
# of a Catalina installation. If not present, resolves to# the same directory that catalina_home points to.# (optional) default Point to Catalina_home Address #
# catalina_out (Optional) full path to a file where stdout and stderr
# would be redirected.# the Default is $CATALINA _base/logs/catalina.out# (optional) Standard output file full path # default is $CATALINA _base/logs/catalina.out#
# catalina_opts (Optional) Java runtime options used when the "start",
# "Run" or "Debug" command is executed.
# Include here and isn't in java_opts all options, that's should
# only being used by Tomcat itself, not by the stop process,
# The Version command etc.# Examples is heap size, GC logging, JMX ports etc.#(optional) Java (should be Tomcat) runtime option to use when "start", "Run", "Debug" command executes. # contains all the options here and not in java_opts, only for Tomcat itself, not for stopping processes, and so on. # such as heap size, garbage collection log, jmx port etc #
# Catalina_tmpdir (Optional) directory path location of temporary directory
# The JVM should use (Java.io.tmpdir). Defaults to# $CATALINA _base/temp.# (optional) temporary file path address # default is $catalina_base/ temp#
# Java_home must point at your JAVA development Kit installation.
# Required to run the with the "debug" argument.
#
# Jre_home must point at your Java Runtime installation.
# Defaults to Java_home if empty. If Jre_home and java_home# are both set, Jre_home is used.# JAVA Runtime Environment installation directory, by default point to Java_ho me.# if both Jre_home and Java_home are set, use jre_home.#
# java_opts (Optional) JAVA runtime options used when any command
# is executed.
# Include here and don't in catalina_opts all options, which
# should be used by Tomcat and also by the stop process,
# The version command etc.# Most options should go into catalina_opts.# (option available) Java runtime option, which is used when any command execution occurs. # contains all the options here and not in catalina_opts, and Tomcat uses these options, which are used when stopping the process and viewing the version information. # Most of them should go into Catalina _opts settings. #
# java_endorsed_dirs (Optional) Lists of Colon separated directories
# containing some jars in order to allow replacement of apis# created outside of the JCP (i.e. DOM and SAX from the website). # &nbs p; It can also is used to update the XML Parser implementation.# Defaults to $CATALINA _home/endorsed.#  &NB Sp;endorsed (Approved) # (optional) # &NBSP ; A collection of paths separated by colons containing jar packages to replace api.# created outside of the JCP organization and nbsp Default Path $catalina_home/endorsed#
# Jpda_transport (Optional) JPDA TRANSPORT used when the ' JPDA start ' # command is executed. The default is "Dt_socket". # (option) # Jpda:java Platform Debugger Architecture, Java platform tuning Test Architecture. #When the JPDA is transmitted, it is used when the "JPDA start" command executes.# Default value "Dt_socket"#
# jpda_address (Optional) Java runtime options used when the ' JPDA start ' # command is executed. The default is 8000.# (optional) # Java runtime options,used when the "JPDA start" command executes.# Default Value 8000 (seemingly port) #
# jpda_suspend (Optional) Java runtime options used when the "JPDA start"
# command is executed. Specifies whether JVM should suspend# execution immediately after startup. Default is "n". # (optional) # Java runtime options,used when the "JPDA start" command executes.# Specifies whether the JVM should suspend execution immediately after startup. #
# jpda_opts (Optional) Java runtime options used when the "JPDA start"
# command is executed. If used, Jpda_transport, jpda_address,
# and Jpda_suspend are ignored. Thus, all required JPDA
# options must be specified. The default is:
#
#-agentlib:jdwp=transport= $JPDA _transport,
# address= $JPDA _address,server=y,suspend= $JPDA _suspend
#
# catalina_pid (Optional) Path of the file which should contains the PID
# of the Catalina startup Java process, when start (fork) is# used# (optional) A file path to the PID of the Tomcat-initiated Java process #
# logging_config (Optional) Override Tomcat ' s LOGGING CONFIG file
# Example (all one line) # logging_config= "-djava.util.logging.config.file= $CATALINA _ba Se/conf/logging.properties "# Overwrite Tomcat's log profile #
# Logging_manager (Optional) Override Tomcat ' s LOGGING MANAGER
# Example (all one line) # logging_manager= "-djava.util.logging.manager=org.apache.juli . Classloaderlogmanager "# Log Manager #------------------------------------------------------------------------- ----
TOMCAT environment variable Analysis