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=38984>. 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=38984 Summary: Incorrect OS flags causing Socket bind failed with APR Product: Tomcat 5 Version: 5.5.15 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] AprEndpoint uses flags such as IS_UNIX from the jni OS class to determine whether to set the APR_SO_REUSEADDR socket option. The OS static initialization is incorrect - it resets all these flags to false, after first setting them correctly. This causes occasional socket bind failures if Tomcat is shut down and quickly restarted, like this: ERROR 2006-03-14 23:28:35,120 org.apache.coyote.http11.Http11AprProtocol - Error initializing endpoint java.lang.Exception: Socket bind failed: Address already in use at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:544) at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:115) at org.apache.catalina.connector.Connector.initialize(Connector.java:1016) etc -- 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]