Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 90517 invoked from network); 19 Jul 2007 14:29:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jul 2007 14:29:49 -0000 Received: (qmail 85973 invoked by uid 500); 19 Jul 2007 14:29:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 85927 invoked by uid 500); 19 Jul 2007 14:29:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 85914 invoked by uid 99); 19 Jul 2007 14:29:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2007 07:29:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.181.65.237] (HELO sun.savoirtech.com) (209.181.65.237) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Jul 2007 07:29:20 -0700 Received: from MacPro.local ([206.197.197.22]) (authenticated bits=0) by sun.savoirtech.com (8.13.8/8.13.8) with ESMTP id l6JESxtb010136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Jul 2007 08:28:59 -0600 Message-ID: <469F752B.7030407@apache.org> Date: Thu, 19 Jul 2007 08:28:59 -0600 From: Jeff Genender Reply-To: jgenender@apache.org Organization: Apache Geronimo User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Ideas on a rc.d kind of directory References: <469804F1.2070303@apache.org> <469F72EA.5080207@apache.org> In-Reply-To: <469F72EA.5080207@apache.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on sun.savoirtech.com X-Virus-Scanned: ClamAV 0.88.7/3700/Thu Jul 19 07:13:47 2007 on sun.savoirtech.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-104.1 required=5.6 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.1.9 Lets let Jason chime in here as I think he volunteered to stitch a lot of this together. Jeff Donald Woods wrote: > Could we use Jakarta commons-launcher, which uses a subset of ANT? > We'd probably have to make a few changes, so it would use the existing > manifest settings in the server/client.jar and to handle our multiple > server instance directory structure..... > > > -Donald > > Jeff Genender wrote: >> Hi, >> >> As we move forward and we integrate with more and more 3rd party >> products, we will need the ability to be able to change an environment >> variable through a plugin, or add a commandline JAVA_OPTS, etc. >> >> Currently our startup scripts call the setjavaenv.sh to set environment >> properties. It would really be nice to have the ability to have a >> "scripts" directory, where all of the scripts get executed before >> Geronimo is launched. Why do we want this? >> >> As we grow in our plugins, they will need to set environment or java >> options set before running G. They may also have a need to start or run >> other outside processes that are not a part of G. >> >> It would be great to allow plugins to install an rc script that gets >> executed to do activities before and perhaps after G is run? >> >> I would propose we create a scripts directory under bin or under var >> that could be similar to init.d, and have it called with start/stop, >> etc. This way plugins can install specific scripts in these directories >> for execution. >> >> Thoughts? >> >> Jeff >> >>