geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <jgenen...@savoirtech.com>
Subject Re: Java Service Wrapper for startup scripts
Date Wed, 10 Aug 2005 13:28:47 GMT


sissonj@insession.com wrote:
> 
> Bruce Snyder <bruce.snyder@gmail.com> wrote on 10/08/2005 04:29:40 PM:
> 
>  > On 8/9/05, Jeff Genender <jgenender@savoirtech.com> wrote:
>  >
>  > > 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.
>  >
>  > This list seems to include a fairly standard set of supported
>  > platforms. However, over time, it seems reasonable to consider that
>  > some requests for platforms that are, shall I say, fairly non-standard
>  >  (e.g., AS400, OS/2, z/OS, etc.) will be made. I hazard a guess that
>  > users will need to contribute in some way to support those platforms
>  > anyway, correct? E.g, I don't even know anyone who has access to an
>  > AS400.
>  >
>  > > 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 noticed that Tomcat 5.5 uses the commons-daemon project and for 
> non-Windows platforms the source (included with the Tomcat binaries) 
> must be compiled.
> 
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html
> 
> Maybe we could follow Tomcat's approach of not providing the binaries 
> for all platforms and leaving it up to the end user.  It is not as 
> though they can't start Geronimo without them, since the shell scripts 
> should always be available.

Yes...but why go there when we don't have to (i.e. the binaries)?  The 
shell scripts will work accross the board with minimal support needed. 
Why not just a Windows binary?

Jeff

> 
> Is anyone familiar with the pros and cons of commons-daemon over Java 
> Service Wrapper and why the Tomcat project chose to use commons-daemon?
> 
> John
> 
>  > >
>  > > 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.
>  >
>  > I must pose another question in answer to your question above: Should
>  > the minority platforms rule the majority?
>  >
>  > Bruce
>  > --
>  > perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!
>  > G;6%I;\"YC;VT*"
>  > );'
>  >
>  > The Castor Project
>  > http://www.castor.org/
>  >
>  > Apache Geronimo
>  > http://geronimo.apache.org/
> 
> 
> 
> This e-mail message and any attachments may contain confidential, 
> proprietary or non-public information.  This information is intended 
> solely for the designated recipient(s).  If an addressing or 
> transmission error has misdirected this e-mail, please notify the sender 
> immediately and destroy this e-mail.  Any review, dissemination, use or 
> reliance upon this information by unintended recipients is prohibited. 
>  Any opinions expressed in this e-mail are those of the author personally.
> 

Mime
View raw message