Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache Tomcat6 Package for Ubuntu |
Fix Released
|
Medium
|
|||
tomcat-native (Ubuntu) |
Fix Released
|
High
|
Thierry Carrez | ||
tomcat6 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Install Tomcat6, then start it. Works fine.
Install libtcnative-1, then start Tomcat. In the catalina log, you'll see:
Oct 22, 2008 12:35:17 PM org.apache.
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Oct 22, 2008 12:35:17 PM org.apache.
SEVERE: Error initializing endpoint
java.lang.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.apache.
at org.apache.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.apache.
And that's it. Tomcat isn't listening on any ports, and startup does not continue.
Disabling ipv6 seems to work around this, as described in http://
However, I want to use ipv6... and it's enabled by default.
Changed in tomcat6: | |
status: | Unknown → Fix Released |
Changed in tomcat-native: | |
assignee: | nobody → tcarrez |
importance: | Undecided → High |
status: | New → In Progress |
Changed in tomcat6: | |
status: | Triaged → In Progress |
Changed in tomcat6: | |
importance: | Unknown → Medium |
https:/ /issues. apache. org/bugzilla/ show_bug. cgi?id= 43327 seems to be this same issue.
The fix is in 1.1.15 according to http:// tomcat. apache. org/native- doc/miscellaneo us/changelog. html.
I'm going to file a bump request.