-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JWS 3.0.3 CR1
-
Documentation (Ref Guide, User Guide, etc.), Release Notes
-
-
-
-
-
-
Known issue.
-
Documented as Known Issue
Test is using and it fails on HOST_IPv6 address
HOST_IPv6=`/sbin/ifconfig -a | grep inet6 | grep -v ::1/128 | head -n1 |gawk '{for(i=1;i<=NF;i++){ if($i~":[abcdef0123456789]*:"){print $i} } }' | awk -F/ '{print $1}'` IPV6_ADDR=::,::1,::ffff:127.0.0.1,$HOST_IPv6
Step to reproduce:
1.bind address to ipv6(not localhost)
/sbin/ifconfig -a | grep inet6 | grep -v ::1/128 | head -n1 |gawk '{for(i=1;i<=NF;i++){ if($i~":[abcdef0123456789]*:"){print $i} } }' | awk -F/ '{print $1}'
2../bin/catalina.sh start || ./apachectl start
3. look into log
(22)Invalid argument: AH00072: make_sock: could not bind to address [fe80::5054:1ff:fe3c:e136]:80 no listening sockets available, shutting down AH00015: Unable to open logs
SEVERE: Failed to initialize end point associated with ProtocolHandler ["ajp-apr-fe80:0:0:0:5054:ff:feee:9a5e-8009"] java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.bind(Unknown Source) at org.apache.tomcat.util.net.AbstractEndpoint.init(Unknown Source) at org.apache.coyote.AbstractProtocol.init(Unknown Source) at org.apache.catalina.connector.Connector.initInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.core.StandardService.initInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.core.StandardServer.initInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.startup.Catalina.load(Unknown Source) at org.apache.catalina.startup.Catalina.load(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.load(Unknown Source) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) Apr 07, 2016 7:38:15 AM org.apache.catalina.core.StandardService initInternal SEVERE: Failed to initialize connector [Connector[AJP/1.3-8009]] org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]] at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.core.StandardService.initInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.core.StandardServer.initInternal(Unknown Source) at org.apache.catalina.util.LifecycleBase.init(Unknown Source) at org.apache.catalina.startup.Catalina.load(Unknown Source) at org.apache.catalina.startup.Catalina.load(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.catalina.startup.Bootstrap.load(Unknown Source) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed at org.apache.catalina.connector.Connector.initInternal(Unknown Source) ... 13 more Caused by: java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.bind(Unknown Source) at org.apache.tomcat.util.net.AbstractEndpoint.init(Unknown Source) at org.apache.coyote.AbstractProtocol.init(Unknown Source) ... 14 more
- is cloned by
-
JBCS-66 Socket bind failed on link-local [IPV6]
- Closed