You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/06/03 10:58:44 UTC

DO NOT REPLY [Bug 47307] New: AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

https://issues.apache.org/bugzilla/show_bug.cgi?id=47307

           Summary: AJP connector: When IPV6 is disabled, Tomcat 6.0.20
                    couldn't start
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: yoursoft@freemail.hu


With the following error log:
Jun 3, 2009 10:10:57 AM org.apache.coyote.ajp.AjpAprProtocol start
SEVERE: Error starting endpoint
org.apache.tomcat.jni.Error: Address family not supported by protocol
    at org.apache.tomcat.jni.Socket.create(Native Method)
    at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)
    at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:730)
    at org.apache.coyote.ajp.AjpAprProtocol.start(AjpAprProtocol.java:188)
    at org.apache.catalina.connector.Connector.start(Connector.java:1131)
    at org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jun 3, 2009 10:10:57 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start: 
LifecycleException:  service.getName(): "Catalina";  Protocol handler start
failed: org.apache.tomcat.jni.Error: Address family not supported by protocol
    at org.apache.catalina.connector.Connector.start(Connector.java:1138)
    at org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


The 6.0.18 is working normaly with the same config.

Best Regards,
    Lutischán Ferenc

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307





--- Comment #2 from Ferenc Lutisch <yo...@freemail.hu>  2009-06-03 02:51:29 PST ---
(In reply to comment #1)
> Which version of TC native are you using?

How can I check it?

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

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


DO NOT REPLY [Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307





--- Comment #4 from Rainer Jung <ra...@kippdata.de>  2009-06-03 05:12:03 PST ---
Please add the error message shown, when you reproduce the problem without
tcnative. Note that if you still see org.apache.tomcat.jni.Error in the
message, you haven't disabled tcnative successfuly. You can disable the lib by
simply renaiming it.

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

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


DO NOT REPLY [Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307


Ferenc Lutisch <yo...@freemail.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #5 from Ferenc Lutisch <yo...@freemail.hu>  2009-06-03 05:26:59 PST ---
(In reply to comment #4)
> Please add the error message shown, when you reproduce the problem without
> tcnative. Note that if you still see org.apache.tomcat.jni.Error in the
> message, you haven't disabled tcnative successfuly. You can disable the lib by
> simply renaiming it.

I'm can't reproduce problem. TC native updated to 1.1.16 and apr, and openssl
too.
I think need close this bug ticket.

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

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


[Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307

Patrick, Yeh <we...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |WORKSFORME

--- Comment #6 from Patrick, Yeh <we...@gmail.com> ---
I found a solution for this issue.
Please recompile your apr library in "./configure --disable-ipv6" to disable
using ipv6  in apr runtime while the runtime environment has disabled ipv6.

Please read apr configuration configure --help.

-Patrick, Yeh

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


DO NOT REPLY [Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307





--- Comment #1 from jfclere <jf...@gmail.com>  2009-06-03 02:40:55 PST ---
Which version of TC native are you using?

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

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


DO NOT REPLY [Bug 47307] AJP connector: When IPV6 is disabled, Tomcat 6.0.20 couldn't start

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47307





--- Comment #3 from Ferenc Lutisch <yo...@freemail.hu>  2009-06-03 04:37:52 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Which version of TC native are you using?
> 
> How can I check it?

Ok. Version is: 1.1.10. But when disabled (not in log), the situation is the
same.

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

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