This is a discussion on Re: tomcat50ctl start arguments - FreeBSD ; 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 ...
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.
>
>
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"