tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Problem with monitoring with JMX
Date Wed, 25 May 2016 14:02:29 GMT
Hash: SHA1


On 5/24/16 5:54 PM, André Warnier (tomcat) wrote:
> To both :
> Do not guess.

Agreed. You should also not guess.

> Read the start of the "bin/" script (Linux) or the 
> "bin/catalina.bat" script (Windows). It explains the difference
> between JAVA_OPTS and CATALINA_OPTS. It also recommends that you
> should not modify either or startup.bat/sh or
> shutdown.bat/sh, but should define these options in a 
> bin/setenv.bat/sh file, that you create if it is not there yet. 
> This "bin/" file, if it exists, is called and
> executed *before* the JVM that starts (or stops) Tomcat is started,
> and thus these options will be set in time to be active when the
> JVM runs.
> The reason not to modify the above files, is that they will be 
> overwritten if you update (or re-install) your Tomcat, and thus
> your changes would be lost in that case.
> An exception to the above, is if you run Tomcat as a Service under
> Windows. Then you should set the Java options using the
> "tomcatw.exe" GUI interface to the Java/Tomcat settings. See here :

OP is clearly using Tomcat on *NIX. He's also already using
for this purpose, exactly as he's supposed to be doing.

This thread is all over the place with no help give so far :(

- -chris
Comment: GPGTools -
Comment: Using GnuPG with Thunderbird -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message