Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument
well well... I still get Sep 16, 2009 12:58:15 PM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument while the listener is really commented in server.xml (both CATALINA_HOME and BASE to be sure) (So I don't understand why apr listener still tries to start) while I start tomcat I ran : tho...@home:/usr/local/apr/lib$ sudo lsof | grep libtcnative java 17935root mem REG9,2 679305 32416984 /usr/local/apr/lib/libtcnative-1.so.0.1.14 So I remove the .14 version and link this filename to the .16 version. (maybe I miss a ldconfig ??) Well, it now works again... Thanks very much for your help ! Regards, Thomas. On Tue, Sep 15, 2009 at 19:50, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Thomas Manson [mailto:dev.mansontho...@gmail.com] Subject: Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument If I comment the listener, compile tomcat-native-1.1.16-src, it will still use APR but this time it will work with ipv6 ? No; if you comment out the listener, Tomcat will not use APR. Try deleting or renaming the DLL to insure Tomcat is not using APR, then run your IPv6 test using the standard and NIO Connectors. If either of those fail, it may be a JVM problem. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument
Hi Mark, thanks for the answer. Just for clarification, the ipv6 bug is still in the 6.0.20 version? How do I disable APR ? I thought that APR == tc native... Am I wrong ? Regards, Thomas. On Fri, Sep 11, 2009 at 11:08, Mark Thomas ma...@apache.org wrote: ith tc native 1.1.1
Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument
Thomas Manson wrote: Hi Mark, thanks for the answer. Just for clarification, the ipv6 bug is still in the 6.0.20 version? No. It was fixed for Tomcat 6.0.20 and tc native 1.1.16 onwards How do I disable APR ? Comment out / delete the listener in server.xml I thought that APR == tc native... Am I wrong ? Nope - that is correct. However, the ipv6 fix needed some changes to both the tc native .dll and how Tomcat uses it. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument
Still not clear for me. If I comment the listener, compile tomcat-native-1.1.16-src, it will still use APR but this time it will work with ipv6 ? or it is still not working with ipv6, that's why I need to disable ipv6 ? Because, I've checked in my server.xml I already tried to disable apr : !--Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=off /-- And I've already compiled tc natvie 1.1.16 but still getting the error. So I guess this 'fix' the error but ipv6 functionnality is not fixed ? Thomas. On Tue, Sep 15, 2009 at 19:32, Mark Thomas ma...@apache.org wrote: was fixed for Tomcat 6.0.20 and tc native 1.1.16 onwards
RE: Tomcat fail to start : Socket bind failed: [22] Invalid argument
From: Thomas Manson [mailto:dev.mansontho...@gmail.com] Subject: Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument If I comment the listener, compile tomcat-native-1.1.16-src, it will still use APR but this time it will work with ipv6 ? No; if you comment out the listener, Tomcat will not use APR. Try deleting or renaming the DLL to insure Tomcat is not using APR, then run your IPv6 test using the standard and NIO Connectors. If either of those fail, it may be a JVM problem. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Tomcat fail to start : Socket bind failed: [22] Invalid argument
Thomas Manson wrote: any ideas? You are still using APR (references to org.apache.coyote.http11.Http11AprProtocol in the logs) and hitting the ipv6 bug. You need to do one of the following: - disable APR - disable ipv6 - use 6.0.20 with tc native 1.1.16 Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org