This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 7977ec3 Display the CATALINA_OPTS when starting Tomcat
7977ec3 is described below
commit 7977ec37eb2ba8aaf24fd1233e4d7540319b4475
Author: Ruediger Pluem <[email protected]>
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 6443620..a215268 100755
--- a/bin/catalina.bat
+++ b/bin/catalina.bat
@@ -262,6 +262,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 642d22d..869940d 100755
--- a/bin/catalina.sh
+++ b/bin/catalina.sh
@@ -338,6 +338,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: [email protected]
For additional commands, e-mail: [email protected]