From owner-freebsd-java@FreeBSD.ORG Wed Nov 26 18:11:21 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16C0416A4CE for ; Wed, 26 Nov 2003 18:11:21 -0800 (PST) Received: from hotmail.com (law10-f68.law10.hotmail.com [64.4.15.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F36043FDF for ; Wed, 26 Nov 2003 18:11:20 -0800 (PST) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 26 Nov 2003 18:11:20 -0800 Received: from 142.59.20.123 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 27 Nov 2003 02:11:20 GMT X-Originating-IP: [142.59.20.123] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: java@freebsd.org Date: Wed, 26 Nov 2003 19:11:20 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Nov 2003 02:11:20.0407 (UTC) FILETIME=[BF936E70:01C3B48B] Subject: tomcat5 and setting the heap size X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 02:11:21 -0000 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