This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 378e21e  Display the CATALINA_OPTS when starting Tomcat
378e21e is described below

commit 378e21e9b02313516476ebd851c8de56a1dba8ed
Author: Ruediger Pluem <ruediger.pl...@vodafone.com>
AuthorDate: Fri Aug 21 11:27:01 2020 +0200

    Display the CATALINA_OPTS when starting Tomcat
---
 bin/catalina.bat | 1 +
 bin/catalina.sh  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/bin/catalina.bat b/bin/catalina.bat
index bf0f7e0..20cf71d 100755
--- a/bin/catalina.bat
+++ b/bin/catalina.bat
@@ -266,6 +266,7 @@ goto java_dir_displayed
 echo Using JAVA_HOME:       "%JAVA_HOME%"
 :java_dir_displayed
 echo Using CLASSPATH:       "%CLASSPATH%"
+echo Using CATALINA_OPTS:   "%CATALINA_OPTS%"
 
 set _EXECJAVA=%_RUNJAVA%
 set MAINCLASS=org.apache.catalina.startup.Bootstrap
diff --git a/bin/catalina.sh b/bin/catalina.sh
index 8d98775..7e1470d 100755
--- a/bin/catalina.sh
+++ b/bin/catalina.sh
@@ -342,6 +342,7 @@ if [ $have_tty -eq 1 ]; then
     echo "Using JRE_HOME:        $JRE_HOME"
   fi
   echo "Using CLASSPATH:       $CLASSPATH"
+  echo "Using CATALINA_OPTS:   $CATALINA_OPTS"
   if [ ! -z "$CATALINA_PID" ]; then
     echo "Using CATALINA_PID:    $CATALINA_PID"
   fi


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to