Debugging options for tomcat41ctl

Ari Suutari ari.suutari at syncrontech.com
Mon Dec 15 05:22:13 PST 2003


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.



More information about the freebsd-java mailing list