tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: catalina.sh and java_opts question
Date Mon, 17 Aug 2009 15:41:22 GMT
Susan Teague Rector wrote:
> Hello all,
> I've searched around on the net and have found differing opinions about
> where to actually place the java_opts env var for tomcat.
> Should this variable be in /tomcat/bin/catalina.sh? When I set it in
> this file and then print out all env vars, it looks like it is not set.
> How do I set java_opts to enable my tomcat applications to get to it?

Generally, use CATALINA_OPTS rather then JAVA_OPTS.

Both should be set in setenv.sh (create it if it doesn't exist)

Mark



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


Mime
View raw message