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 17935 root mem REG 9,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 <Connector>s. 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. > > >