Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 15:21:58 +0200
From:      Ari Suutari <ari.suutari@syncrontech.com>
To:        Sheldon Hearn <sheldonh@starjuice.net>, Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Debugging options for tomcat41ctl
Message-ID:  <200312151521.58681.ari.suutari@syncrontech.com>
In-Reply-To: <20031215121405.GS13737@starjuice.net>
References:  <20031213145040.GE13737@starjuice.net> <200312151309.47345.ernst.dehaan@nl.wanadoo.com> <20031215121405.GS13737@starjuice.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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