CATALINA_OPTS

  按照catalina.sh文檔中的註釋,CATALINA_OPTS(可選)是在執行「開始」,「運行」或「調試」命令時使用的Java運行時選項。在此處包含全部選項,而不是在JAVA_OPTS中包含全部選項,這些選項只能由Tomcat自己使用,而不能由中止進程,版本命令等使用。示例包括堆大小,GC日誌記錄,JMX端口等。html

 

相關主題:.net

CATALINA_OPTS v JAVA_OPTS - What is the difference?debug

http://www.wellho.net/mouth/2163_CATALINA-OPTS-v-JAVA-OPTS-What-is-the-difference-.html調試

 

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 should only be used by Tomcat itself, not by the stop process, the version command etc. Examples are heap size, GC logging, JMX ports etc.日誌

JAVA_OPTS (Optional) Java runtime options used when any command is 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.htm

本站公眾號
   歡迎關注本站公眾號,獲取更多信息