tomcat50ctl start arguments

Thomas Lange freebja at wie-ich.de
Mon Mar 14 04:49:45 PST 2005


> 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