Howdy, >>This very much depends on the platform tomcat runs on. >>On Linux and most Un*x-like operationg systems, no user except root >>(i.e. anyone with effective uid 0) may open ports below 1024. Hence, on >>these platforms, no other user can start tomcat on port 80, at least not >>without outside help. What native unix-programs (like apache) do is they >>meddle with the uid they are running under by the means of kernel >>function calls, dropping their root-privileges after they open port 80 >>and do other privileged stuff. >> >>Since I had no need for this myself, I do not know if there is any >>solution around that allows java programms to effectively do the same. > >Does anybody know if there is a solution that allows this?
Yes, jakarta commons-daemon which comes bundled with tomcat 5 and also works with tomcat 4. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
