Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 93280 invoked from network); 10 Aug 2005 14:35:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 14:35:01 -0000 Received: (qmail 34584 invoked by uid 500); 10 Aug 2005 14:34:57 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 34543 invoked by uid 500); 10 Aug 2005 14:34:57 -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 34529 invoked by uid 99); 10 Aug 2005 14:34:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 07:34:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [66.250.40.202] (HELO saturn.opentools.org) (66.250.40.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 07:35:19 -0700 Received: by saturn.opentools.org (Postfix, from userid 500) id 7FAA33E76; Wed, 10 Aug 2005 10:46:53 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by saturn.opentools.org (Postfix) with ESMTP id 798A2F38F for ; Wed, 10 Aug 2005 10:46:53 -0400 (EDT) Date: Wed, 10 Aug 2005 10:46:53 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@saturn.opentools.org To: dev@geronimo.apache.org Subject: Re: Java Service Wrapper for startup scripts In-Reply-To: <42F97990.8030907@savoirtech.com> Message-ID: References: <42F97990.8030907@savoirtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I like using service wrappers on Windows but keeping it generic on other platforms. Still, we'll eventually want init scripts for the other platforms (so it can start on startup, shut down at shutdown)... Are we sure that writing the init scripts for all those platforms is a smaller issue? I can chip in SuSE scripts when the time comes. :) Aaron On Tue, 9 Aug 2005, Jeff Genender wrote: > A discussion came up about using Java Service Wrapper accross the board > for all of our starting and stopping needs wihtin Geronimo. > > I was looking at the Java Service Wrapper and I think it would be great > to use for an NT service for Windows boxes for our startup and shutdown. > > But outside of Windows we need to discuss some issues. > > Apparently there are some native JNI and libraries that are required for > each platform. As of today the following platforms currently are > supported by Java Service Wrapper and have binaries for : > > aix - AIX > freebsd - FreeBSD > hpux, hpux64 - HP-UX, 32 and 64-bit versions. > irix - SGI Irix > linux - Linux kernels; 2.2.x 2.4.x, 2.6.x. Known to work with Debian and > Red Hat, but should work with any distribution. > macosx - Macintosh OS X. > osf1 - DEC OSF1. > solaris - Sun OS, Solaris 7, 8. > win32 - Windows NT, 2000, XP, and 2003. > > If we go down the binary route (other than Windows), we, as Geronimo, > will be forced to compile and support additional binaries that are > beyond the above list. > > IMHO, I believe we are better off writing shell scripts which, for the > most part, are platform independent (except for Windows), so that we > only need to support Java and generic shell. > > For Windows, we can provide both bat scripts as well as a Java Service > Wrapper implementation *for that platform only*, so that people have the > ability to run Geronimo as an NT service or command line. > > I am a little concerned with getting into the binary business, as this > could eventually limit what platforms Geronimo runs on, and we may end > up with a nasty headache having to support these binaries. So I would > recommend we not use Java Service Wrapper beyond Windows. > > What is everyone's thoughts on this? > > Jeff >