Link to home
Start Free TrialLog in
Avatar of DevSupport
DevSupport

asked on

Apache tomcat jvm option exit argument in logs

There is an exit command line argument in the jvm options which is shown in apache tomcat logs but I cannot find it anywhere in the JVM options of the application

During a tomcat 8 startup the  JVM parameters are shown in the initial startup logs and it appears just above the Xms and Xmx

04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xloggc:C:\Tomcat8032\apache-tomcat-8.0.32\logs\gc.log
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-OmitStackTraceInFastThrow
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms8192m
04-Apr-2018 12:27:21.171 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx8192m

I have seen this as a very common occurrence in almost all tomcat 8 apps and it appears like a tomcat's own setting as we dont have this specified anywhere in the JVM options.

I request you experts to let me know what this option is about and if its possible to remove it from the JVM options.

Our business thinks that this could be one of the reasons for the ongoing issues and I want to prove otherwise. Also I don't see any mention of this setting in apache websites. I am also looking for any apache reference material or any websites which talks about this argument or something from which I can learn more about it

Appreciate you help in this regard.
exit.jpg
Avatar of girionis
girionis
Flag of Greece image

What version of tomcat are you running? We use 8.5.30 here and we don't have this argument. In any case, it should be in your catalina.sh file.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.