DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38518>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38518

           Summary: java fails to bind on port 80
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Daemon
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Platform is Ubuntu Linux, kernel 2.6.15 amd64 smp on a dual core processor.
When I start Tomcat with jsvc and the Http connector on port 80 java fails to
bind on port 80. I added an extra debug statement in set_caps to tell me when
set_caps is called. In catalina.out I see before java even tries to bind, three
calls: the first with the value 1216, second with 1024 (CAP_NET_BIND_SERVICE)
and the last with 0 (downgrade).
After commenting out set_caps(0) from the jsvc-unix.c Tomcat starts ok.

What is the reason for the downgrade happening so soon? Is it a race condition
turned bad by the use of a multiprocessor?

BTW, the Readme should mention that the module capabilities should be loaded.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to