Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2003 19:11:20 -0700
From:      "Stephane Raimbault" <segr@hotmail.com>
To:        java@freebsd.org
Subject:   tomcat5 and setting the heap size
Message-ID:  <Law10-F686EybqfAj8100017be2@hotmail.com>

next in thread | raw e-mail | index | archive | help
I'm having a heck of a time trying to figure out how to set the jvm heap 
size with the jakarta-tomcat5.0 port on freebsd.

Can anyone drop any clues for me?  I've tried setting some JAVA_OPTS to 
-Xm100m (too increase it to 100Megs) in the catalina.sh files and so on, but 
no go.  I got it to work by running the following command on the command 
line from the /usr/local/jakarta-tomcat5.0 directory

su -f -m www -c "/usr/local/jdk1.4.2/bin/java -jar 
-Dcatalina.home=/usr/local/jakarta-tomcat5.0 -Xmx100m bin/bootstrap.jar 
start"

How can I go about getting that -Xmx100m options being read when executing

/usr/local/etc/rc.d/020.jakarta-tomcat50.sh

Thanks,
Stephane

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Law10-F686EybqfAj8100017be2>