Date: Mon, 14 Mar 2005 15:00:36 +0100 (MET) From: Mipam <mipam@ibb.net> To: Thomas Lange <freebja@wie-ich.de> Cc: freebsd-java@freebsd.org Subject: Re: tomcat50ctl start arguments Message-ID: <Pine.BSO.4.56.0503141457200.29397@ux11.ltcm.net> In-Reply-To: <004501c52894$785c8f90$16b2a8c0@bubu> References: <Pine.BSO.4.56.0503141310150.29397@ux11.ltcm.net> <Pine.BSO.4.56.0503141338320.29397@ux11.ltcm.net> <004501c52894$785c8f90$16b2a8c0@bubu>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.56.0503141457200.29397>