#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_BASE/bin中设置setenv.sh以保持您的自定义独立。
#CATALINA_HOME May point at your Catalina "build" directory.
CATALINA_HOME可能指向你的Catalina“build”目录。
#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.
CATALINA_BASE(可选)解析动态部分的基本目录卡特琳娜装置的照片如果不在场,就决定去CATALINA_HOME指向的同一个目录。
#CATALINA_OUT (Optional) Full path to a file where stdout and stderr will be redirected.Default is $CATALINA_BASE/logs/catalina.out
(可选)标准输出和标准错误文件的完整路径将重定向。默认是CATALINA_BASE/logs/catalina.out
#CATALINA_OPTS (Optional) Java runtime options used when the "start","run" or "debug" command is executed.Include here and not in JAVA_OPTS all options, that shouldonly be used by Tomcat itself, not by the stop process,the version command etc.
Examples are heap size, GC logging, JMX ports etc.
(可选)执行“start”、“run”或“debug”命令时使用的Java运行时选项。
包含在这里而不是JAVA_OPTS中的所有选项,它们应该只被Tomcat自己使用,而不是被停止进程、版本命令等使用。例如堆大小、GC日志记录、JMX端口等。
#CATALINA_TMPDIR (Optional) Directory path location of temporary directorythe JVM should use (java.io.tmpdir). Defaults to $CATALINA_BASE/temp.
JVM应该使用的临时目录的目录路径位置(java.io.tmpdir)。默认为$CATALINA_BASE / temp。
#JAVA_HOME Must point at your Java Development Kit installation. Required to run the with the "debug" argument.
必须指向您的Java开发工具包安装。需要运行with“debug”参数。
#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运行时安装。如果为空,默认为JAVA_HOME。如果JRE_HOME和JAVA_HOME都设置,则使用JRE_HOME。
#JAVA_OPTS (Optional) Java runtime options used when any commandis executed.Include here and not in CATALINA_OPTS all options, that
should be used by Tomcat and also by the stop process,the version command etc.Most options should go into CATALINA_OPTS.
(可选)执行任何命令时使用的Java运行时选项。包括在这里而不是在CATALINA_OPTS所有选项,应该由Tomcat和停止进程、版本命令等使用。大多数选项应该进入CATALINA_OPTS。
#JAVA_ENDORSED_DIRS (Optional) Lists of of colon separated directories containing some jars in order to allow replacement of APIscreated outside of the JCP (i.e. DOM and SAX from W3C).
It can also be used to update the XML parser implementation.Note that Java 9 no longer supports this feature.
Defaults to $CATALINA_HOME/endorsed.
(可选)包含一些jar的冒号分隔目录列表,以允许替换JCP之外创建的api(即来自W3C的DOM和SAX)。
它还可以用于更新XML解析器实现。注意,Java 9不再支持这个特性。默认为$CATALINA_HOME/endorsed.
#JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"command is executed. The default is "dt_socket".
(可选)“JPDA启动”时使用的JPDA传输命令执行。默认值是“dt_socket”。
#JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start" command is executed. The default is 8000.
(可选)“jpda启动”时使用的Java运行时选项命令执行。缺省值是8000
#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".
可选)执行“jpda start”命令时使用的Java运行时选项。指定JVM是否应该挂起启动后立即执行。默认设置是“n”。
#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 jpdaoptions MUST be specified. The default is:
(可选)执行“jpda start”命令时使用的Java运行时选项。如果使用,JPDA_TRANSPORT、JPDA_ADDRESS和JPDA_SUSPEND将被忽略。因此,必须指定所有必需的jpdaoptions。默认的是:
-agentlib:jdwp=transport=$JPDA_TRANSPORT,
address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
#JSSE_OPTS (Optional) Java runtime options used to control the TLSimplementation when JSSE is used. Default is:
(可选)Java运行时选项,用于在使用JSSE时控制tlimplementation。默认是:"-Djdk.tls.ephemeralDHKeySize=2048"
#CATALINA_PID (Optional) Path of the file which should contains the pidof the catalina startup java process, when start (fork) isused
(Optional) Path of the file which should contains the pidof the catalina startup java process, when start (fork) isused
#LOGGING_CONFIG (Optional) Override Tomcat's logging config file
Example (all one line)
LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
(可选)覆盖Tomcat的日志配置文件
#LOGGING_MANAGER (Optional) Override Tomcat's logging manager
Example (all one line)
LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
覆盖Tomcat的日志管理器
#USE_NOHUP (Optional) If set to the string true the start command will use nohup so that the Tomcat process will ignore any hangup
signals. Default is "false" unless running on HP-UX in which case the default is "true"
(可选)如果设置为true, start命令将使用nohup,这样Tomcat进程将忽略任何挂起信号。默认为"false",除非运行在HP-UX上,在这种情况下默认为"true"