From owner-freebsd-java Thu May 16 0: 3:41 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 15B6037B4EF for ; Thu, 16 May 2002 00:02:26 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g4G72Rmq077661; Thu, 16 May 2002 09:02:28 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g4G72Rla077660; Thu, 16 May 2002 09:02:27 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: EuroNet Internet B.V. To: Ari Suutari , java@freebsd.org Subject: Re: tomcat ports and daemonctl.c suggestion Date: Thu, 16 May 2002 09:02:27 +0200 X-Mailer: KMail [version 1.4] References: <200205160832.25618.ari.suutari@syncrontech.com> <200205160852.56738.ernsth@nl.euro.net> In-Reply-To: <200205160852.56738.ernsth@nl.euro.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205160902.27296.ernsth@nl.euro.net> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It would be nice if we could set this up in a way to we could switch to XML config files in the future, without having to rewrite all of the code. We could factor the loading of the configuration settings out into a different source file. Ernst On Thursday 16 May 2002 08:52, Ernst de Haan wrote: > > Would it be a good idea to change daemonctl program > > (which us used to start tomcat installed via ports) so that > > instead of editing the source automatically during port > > install (for adding information about JAVA_HOME, APP_HOME etc) > > these values would be written to a .conf file in /usr/local/etc ? > > Yeah. This sounds like a good idea. We would then have configuration files > named: > o jakarta-tomcat3.conf, > o jakarta-tomcat4.conf > o jboss2.conf > o orion.conf > etc... > > Right ? > > > Then, it would be easy the change these values after installation > > if necessary (to add jvm parameters, to change to different jdk etc) > > (If daemonctl is installed as tomcat4ctl, the config file could > > automagically be tomcat4ctl.conf) > > Yeah, sounds very good! > > > I volunteer to do the coding if this makes sense. > > That would be great. I would really appreciate that. If you really want to > do so, then lets discuss the exact details a bit further... > > > Regards, > > > Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message