Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 13:50:57 +0100
From:      "Thomas Lange" <freebja@wie-ich.de>
To:        "Mipam" <mipam@ibb.net>
Cc:        freebsd-java@freebsd.org
Subject:   Re: tomcat50ctl start arguments
Message-ID:  <004501c52894$785c8f90$16b2a8c0@bubu>
References:  <Pine.BSO.4.56.0503141310150.29397@ux11.ltcm.net> <002e01c52891$c2d0a5f0$16b2a8c0@bubu> <Pine.BSO.4.56.0503141338320.29397@ux11.ltcm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?004501c52894$785c8f90$16b2a8c0>