From owner-freebsd-java@FreeBSD.ORG Mon Dec 15 05:22:13 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 A3D3616A4CE for ; Mon, 15 Dec 2003 05:22:13 -0800 (PST) Received: from cocoa.syncrontech.com (cocoa-e0.syncrontech.com [62.71.8.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1318543D31 for ; Mon, 15 Dec 2003 05:22:11 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19])hBFDM4EQ098108; Mon, 15 Dec 2003 15:22:06 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) hBFDLwC5046507; Mon, 15 Dec 2003 15:21:59 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari Organization: Syncron Tech Oy To: Sheldon Hearn , Ernst de Haan Date: Mon, 15 Dec 2003 15:21:58 +0200 User-Agent: KMail/1.5.4 References: <20031213145040.GE13737@starjuice.net> <200312151309.47345.ernst.dehaan@nl.wanadoo.com> <20031215121405.GS13737@starjuice.net> In-Reply-To: <20031215121405.GS13737@starjuice.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312151521.58681.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) cc: freebsd-java@freebsd.org Subject: Re: Debugging options for tomcat41ctl 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, 15 Dec 2003 13:22:13 -0000 Hi, On Monday 15 December 2003 14:14, Sheldon Hearn wrote: > Given that you have to start Tomcat _without_ daemonctl if you want > debugging support Also if you want to adjust jvm memory parameters (-Xmx etc...) > and given that the primary purpose of daemonctl is to Apache has "apachectl" - maybe idea for tomcat4ctl came from it ? > make it easy for developers to stop and start the service without being > root, I suggest that we reimplement the existing rc.d script without > using daemonctl, and leave daemonctl installed for folks who want it. I remember that somebody had an alternative implementation of daemonctl which used xml config file. Also, I have another alternative implementation which uses a simple text config file for various options (it is same as the original daemonctl except most of the hard-coded parameters have been replaced with call to take them from a config file). I once offered this version on this mailing list but there was not much interest in it. The program is a drop-in replacement for the original one, but someone would have to update the port to use it. Anyway, I think that using just shell script wouldn't be too bad either. I wonder why tomcat folks don't provide anything nicer for startup on unixes - I know that on windows platform they provide a 'apache tomcat service' which runs in background. Ari S.