Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2003 11:29:51 -0500
From:      Brent Verner <brent@rcfile.org>
To:        Milo Hyson <milo@cyberlifelabs.com>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, Doug Poland <doug@polands.org>, leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG
Subject:   Re: Specifying jdk for tomcat 4.1.18
Message-ID:  <20030320162951.GA1608@rcfile.org>
In-Reply-To: <3E79E8A4.1020302@cyberlifelabs.com>
References:  <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org> <3E78E6C2.2090209@cyberlifelabs.com> <1616.172.16.1.33.1048125648.squirrel@email.polands.org> <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.squirrel@email.polands.org> <20030320041206.GA46244@rcfile.org> <20030320123623.GB54999@starjuice.net> <3E79E8A4.1020302@cyberlifelabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[2003-03-20 08:13] Milo Hyson said:
| Sheldon Hearn wrote:
| 
|     On (2003/03/19 23:12), Brent Verner wrote:
|     
|         I have begun to implement a daemonctl.c that uses a( set of xml) 
|         config file(s) to control its actions.
|             
|     Why not simply modify the ctlers to honour the JAVA_HOME envar when
|     present, otherwise behave the same as on other platforms?
|
|     That way, you introduce a superset of the behaviour found on other
|     platforms that is orthogonal with both the traditional Unix environment
|     paradigm (envars override defaults) and also with the Java paradigm
|     (JAVA_HOME means something special).
|     
| I agree. At the very least, I would expect a FreeBSD port to provide the option
| to behave like the official stock release.

  I agree wholly with (both of) you on this issue, which is why 
I've tried to implement a flexible setuid/setgid wrapper around 
the scripts used by the official releases.  I only chose to use 
xml because I didn't want to write YACFP (yet another config file 
parser).  The calling environment is passed to the script, so the
setuid wrapper _could_ be as simple as calling thru to the
/usr/local/jakarta-tomcat4.1/bin/catalina.sh script.

  b

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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