Sacha Labourey wrote:

- a new Unix wrapper (we use it for the usual port-80-without-root problem; it unfortunately wouldn't work with JB, which doesn't have a well defined init phase)
***********************

Explain ;)

Well, it's fairly simple.
Basically, it's a native binary, which instantiates the VM using JNI, instantiates an object in the VM (as configured), and then calls a "init" method, does a setuid (to switch to non root), and calls a "start" method.


So the trick is to init the HTTP connector during the init call, to bind port 80. And after that, Tomcat can run as non root the rest of the time.

There are of course many other ways (the best IMO being kernel level port redirection).

Remy




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to