> On Wed, 20 Feb 2002, Bill Barker wrote:
>
> > IMHO, beyond Pier's and Remy's requirements, this will never fly in the
real
> > world.  I don't see any way that you are going to convince webmasters
> > (including me) to relax the sandbox enough to allow this.
>
> Bill, this solution is what all servlet container are doing ( except
> tomcat ). Look at any servlet container that runs on port 80 on unix, and
> you'll find a small JNI library that change the user id.
>
> For tomcat3.x - we don't need that too much because it's far better to
> start as non-root from the beginning, and use a real web server on 80.
> But assuming we would want to, I'm not sure 'deamon' would work without
> major modifications in tomcat ( to implement its model ), and I'm not
> sure how many other applications will fit the model, and I'm
> not sure I want to make the 'daemon' a requirement. I like
> the sourceforge's wrapper a lot, that's what I would use,
> and I know many other solutions in use for starting and keeping
> java programms alive that don't impose such requirements.

I didn't write either APIs. Someone on the commons mentioned this project,
so I went there. It seems to me that omitting the 'init' method is a glaring
omission.
The native part of the code looks miles ahead of damon's code, though :)

The project looks inactive, so maybe it would be possible to talk to the
authors and merge ?

Eventually, this could end up as a top level project at Jakarta (seems
useful enough functionality for me).

Remy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to