-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

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/catalina.sh" 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 catalina.sh/bat 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/setenv.sh/bat" 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 :
> http://wiki.apache.org/tomcat/FAQ/Windows#Q11

OP is clearly using Tomcat on *NIX. He's also already using setenv.sh
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
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAldFsHUACgkQ9CaO5/Lv0PBjKACgjQj9UpPqPt2X2PwKuDddnvHT
gAMAniO4Uh9K4Jv/Ttq11EjQdrbZI/G2
=ZWwH
-----END PGP SIGNATURE-----

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

Reply via email to