[Bug 287645] [NEW] Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] Invalid argument
Launchpad Bug Tracker
287645 at bugs.launchpad.net
Thu Feb 17 09:30:48 UTC 2011
You have been subscribed to a public bug by Daniel Holbach (dholbach):
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.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Oct 22, 2008 12:35:17 PM org.apache.coyote.http11.Http11AprProtocol init
SEVERE: Error initializing endpoint
java.lang.Exception: Socket bind failed: [22] Invalid argument
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)
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://ubuntuforums.org/showpost.php?p=2629769&postcount=3
However, I want to use ipv6... and it's enabled by default.
** Affects: tomcat6
Importance: Medium
Status: Fix Released
** Affects: tomcat-native (Ubuntu)
Importance: High
Assignee: Thierry Carrez (ttx)
Status: Fix Released
** Affects: tomcat6 (Ubuntu)
Importance: Medium
Status: Fix Released
--
Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [22] Invalid argument
https://bugs.launchpad.net/bugs/287645
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list