On 12/03/2010 08:21 AM, Mladen Turk wrote:
On 12/03/2010 07:43 AM, Konstantin Kolinko wrote:
So, binding to port 80 should be performed during initialization while
we have the root privileges, and not during startup. Does binding to
port 80 still work with Tomcat 7?
Didn't test, but probably not. The sockets are now created iside
start() instead init() so after the privileges are dropped.
Tested. It works on Linux, but it fails on Solaris.
SEVERE: Error starting endpoint
java.net.BindException: Permission denied <null>:80
at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:391)
...
7.0.4 works as expected since sockets are created at init()
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org