tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: and java_opts question
Date Mon, 17 Aug 2009 15:45:49 GMT
Something will eventually call bin/ (or bin/ 
Changing bin/ (or bin/ is typically a bad idea.

Whatever is calling that should export JAVA_OPTS first.

For example:
export JAVA_OPTS='-Xmx256m'
- or -
export JAVA_OPTS='-Xmx256m -Djava.awt.headless=true'


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/ 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?

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

View raw message