Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 14:06:51 +0200
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        freebsd-java@freebsd.org
Subject:   Re: RFC: New port for using Tomcat with jakarta-commons-daemon (jscv)
Message-ID:  <20050706120651.GA75826@arabica.esil.univ-mrs.fr>
In-Reply-To: <20050704133223.GA52134@arabica.esil.univ-mrs.fr>
References:  <15241.1119787301@www19.gmx.net> <20050704133223.GA52134@arabica.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
As Angelo Turetta just pointed out to me, the attached shar seems to
have been lost in the process. You may grab it here:

http://people.freebsd.org/~hq/jakarta-tomcat-daemon.shar

Herve

On Mon, Jul 04, 2005 at 03:32:23PM +0200, Herve Quiroz wrote:
> Hi Martin,
> 
> [ Various Tomcat-realted PRs submitters CC'ed, as well as the Tomcat
> ports maintainer -- PR list at the end of the message ]
> 
> [ Attached to this message is a new shar, again supplied by Martin, but
> hopefully without tabs and \n messed up in the process ]
> 
> I tested your port, and have a little remark: there can only be one
> tomcat server running at a time using your rcNG script. I don't know if
> this is a problem, as I don't know how much it is useful to run several
> different versions of tomcat at once on the same machine. I have a
> workaround for this issue, though. See below.
> 
> OTOH, I find the script quite simple to use and pass arguments via
> rc.conf. I would really like to hear from the Tomcat users/maintainer
> community though.
> 
> So my plan for now is the following:
> 
> - Rework the sysutils/jakarta-commons-daemon port and add it in the
>   ports tree.
> - Add a rcNG/Tomcat port: sysutils/jakarta-tomcat-rncg. This port would
>   be bound to (but not depend on -- see below) a particular Tomcat port
>   (which user may pick at build/install), and would set an according
>   PKGNAMESUFFIX (e.g.  "50", "55") so that we could install several
>   startup scripts for the many installed Tomcat ports.
> - Have each Tomcat port in the tree depend on an according
>   jakarta-tomcat-rncgXX port. That's why we don't want the tomcat-rcng
>   ports to depend on a particular Tomcat port (cyclic dependency).
> 
> The first step will be straightforward, and don't really need feedback
> from the Tomcat community. This port would be a nice addition to the
> ports tree anyhow. The 2nd and 3rd steps both depend on the feedback
> from users and maintainers. Hence, while I proceed with the first step,
> I would be glad if people could comment on the next ones, so we don't
> end up implementing something worthless...
> 
> The PKGNAMESUFFIX and "multiple tomcat launchers" approach described in
> step 2 means that there will be different configuration settings, each
> specific to one tomcat version (e.g. "tomcat50_enable",
> "tomcat55_javahome"...).
> 
> However, we need to discuss the patch-jsvc-unix.c issue. I don't think
> it is good to disable some FreeBSD-specific code in a generic utility
> port such as jakarta-commons-daemon. But you seem to think this is
> useful in our Tomcat/rcNG case. Hence, here again I need feedback and/or
> contribution or we will probably have to have two distinct ports
> (jakarta-commons-daemon and jakarta-tomcat-launcher), possibly with the
> later importing stuff from the former.
> 
> Now, regarding the required contributions, I would say that I can
> probably implement the 3 forecited steps myself, given I already have
> all I need with the shar you submitted. I just need to know who wants to
> become maintainer(s) of the various incoming new ports.
> 
> A lot of work and energy has already been put into finding a way to pass
> arguments to Tomcat, and to handle the lifecycle of the Tomcat daemon
> (see PRs list at the end of the message), so let's review the various
> submissions and implement something so we can move on with this issue.
> 
> Herve
> 
> 
> PS: FYI, a repost of the list of related PRs (to my knowledge):
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/38018
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/38020
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/59571
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/74344
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/75143



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