tomcat5 and setting the heap size
Stephane Raimbault
segr at hotmail.com
Wed Nov 26 18:11:21 PST 2003
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
More information about the freebsd-java
mailing list