tomcat50ctl start arguments

Mipam mipam at ibb.net
Mon Mar 14 06:00:41 PST 2005


Hmmm, make.conf doesn't seem the right place to set environment vars.
Any hints where to set the env vars for catalina?

You set:

CATALINA_OPTS="-server -Xms400m -Xmx700m -Djava.awt.headless=true"

Why the -server argument? 
Only adding something like

CATALINA_OPTS="-Xmx512M" 

wouldn't be allright?
I mean, wouldn't that overule other vars in catalina.sh?
Woulnd't be CATALINA_OPTS+= be better?
Bye,

Mipam.

On Mon, 14 Mar 2005, Thomas Lange wrote:

> > Thanks, so for example i could do:
> >
> >
> > su -f -m www -c "exec /usr/local/jakarta-tomcat5.0/bin/startup.s
> > h" -Xmx256M >/dev/null && echo -n 'tomcat50'
> >
> > Adding -Xmx256M behind the startup statement to make it work?
> 
> I - quite lamely - put it into 
> "/usr/local/jakarta-tomcat5.0/bin/catalina.sh"
> 
> CATALINA_OPTS="-server -Xms400m -Xmx700m -Djava.awt.headless=true"
> 
> It would be best, however, to set it as an environment variable.
> 
> 


More information about the freebsd-java mailing list