tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39596] New: - Connector@address does not work with APR-enhanced Tomcat
Date Wed, 17 May 2006 09:15:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39596>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39596

           Summary: Connector@address does not work with APR-enhanced Tomcat
           Product: Tomcat 5
           Version: 5.5.17
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connector:HTTP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: olle@compound.se


I'm testing using the "tomcat-native"-component that ships with the Tomcat 
5.5.17 tar-distribution. The environment is Suse Enterprise 9, fairly up-to-
date with all the Suse updates. Libapr is libapr1-1.2.2-1.1.

When I'm trying to use a Connector listening on a specific IP ( <Connector 
address="192.168.3.5" port="80" /> ) I get a "Socket bind failed"-exception 
(see below). If I remove the "address"-attribute Tomcat starts fine. If I 
remove the APR-component the Tomcat starts fine (using the "address" Connector-
attribute that is).

ERROR main org.apache.coyote.http11.Http11AprProtocol - Error initializing 
endpoint
 java.lang.Exception: Socket bind failed: [22] Invalid argument
        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:571)
        at org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:115)
        at org.apache.catalina.connector.Connector.initialize
(Connector.java:1016)
        at org.apache.catalina.core.StandardService.initialize
(StandardService.java:580)
        at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:791)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.daemon.support.DaemonLoader.load
(DaemonLoader.java:160)
ERROR main org.apache.catalina.startup.Catalina - Catalina.start
 LifecycleException:  Protocol handler initialization failed: 
java.lang.Exception: Socket bind failed: [22] Invalid argument
        at org.apache.catalina.connector.Connector.initialize
(Connector.java:1018)
        at org.apache.catalina.core.StandardService.initialize
(StandardService.java:580)
        at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:791)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.daemon.support.DaemonLoader.load
(DaemonLoader.java:160)
INFO main org.apache.catalina.startup.Catalina - Initialization processed in 
1057 ms
 INFO main org.apache.catalina.core.StandardService - Starting service Catalina

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message