From owner-freebsd-java@FreeBSD.ORG Mon Mar 14 21:09:50 2005 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 767EE16A4CE for ; Mon, 14 Mar 2005 21:09:50 +0000 (GMT) Received: from ux11.ltcm.net (ux11.ltcm.net [64.215.98.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85F0143D3F for ; Mon, 14 Mar 2005 21:09:49 +0000 (GMT) (envelope-from mipam@ibb.net) Received: from ux11.ltcm.net (mipam@localhost.ltcm.net [IPv6:::1]) by ux11.ltcm.net (8.12.9/8.12.9/UX11TT) with ESMTP id j2EL9lrU015795; Mon, 14 Mar 2005 22:09:47 +0100 (MET) Received: from localhost (mipam@localhost) by ux11.ltcm.net (8.12.9/8.12.9/Submit) with ESMTP id j2EL9jt5019753; Mon, 14 Mar 2005 22:09:46 +0100 (MET) X-Authentication-Warning: ux11.ltcm.net: mipam owned process doing -bs Date: Mon, 14 Mar 2005 22:09:45 +0100 (MET) From: Mipam X-X-Sender: mipam@ux11.ltcm.net To: Kang Liu In-Reply-To: <4235808a.668b564d.48df.7848@mx.gmail.com> Message-ID: References: <4235808a.668b564d.48df.7848@mx.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: RE: tomcat50ctl start arguments 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: Mon, 14 Mar 2005 21:09:50 -0000 On Mon, 14 Mar 2005, Kang Liu wrote: > There are some PR(s) with patches which can solve your problem. > e.g. http://www.freebsd.org/cgi/query-pr.cgi?pr=75143 > Now, I'm still working on this issue. If there is any good idea, please mail > me. Hmm, you're suggesting this: tomcat50ctl start -server -Xmx128m and tomcatctl is called from the script in /usr/local/etc/rc.d However, wouldn't it be more wishful rename 020.jakarta-tomcat50.sh to tomcat50.sh and have a variable in /etc/rc.conf like: tomcat50_enable="YES" and tomcat50_flags="-Xmx512M ...." for example? and something in tomcat50.sh like: # PROVIDE: tomcat50 # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: FreeBSD shutdown name="tomcat50" rcvar=`set_rcvar` start_precmd="tomcat50_precmd" etc etc. This way it'll be more like the freebsd standard rc style. Of course additional changes in the makefile have to be made to make this work? Bye, Mipam.