tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akshay Mirajkar <mirajkar.aks...@gmail.com>
Subject Re: IPv6 configuration for tomcat 6
Date Fri, 03 Apr 2009 10:46:56 GMT
I have put the ipv6 address in two places in server.xml. Those are:

<Membership className="org.apache.catalina.tribes.membership.McastService"
                                address="228.0.0.8"
                                bind="fc00:10:112:107:0:0:0:236"
                            port="45564"
                            frequency="500"
                            dropTime="3000"/>

                            <Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
                            address="fc00:10:112:107:0:0:0:236"
                            port="4200"
                            autoBind="100"
                            selectorTimeout="5000"
                            maxThreads="6"/>




exception that i am getting is:
Apr 3, 2009 11:32:34 AM org.apache.catalina.tribes.transport.ReceiverBase
bind
INFO: Unable to bind server socket to:/fc00:10:112:107:0:0:0:236:4299
throwing error.
Apr 3, 2009 11:32:34 AM org.apache.catalina.tribes.transport.nio.NioReceiver
start
SEVERE: Unable to start cluster receiver
java.net.SocketException: Address family not supported by protocol family:
bind
    at sun.nio.ch.Net.bind(Native Method)
    at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
    at
org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:205)
    at
org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)
    at
org.apache.catalina.tribes.transport.ReceiverBase.bind(ReceiverBase.java:217)

I tried putting ipv6 address in square brackets also... but it did not work

Any help will be appreciated..



On Thu, Apr 2, 2009 at 4:26 PM, Akshay Mirajkar
<mirajkar.akshay@gmail.com>wrote:

> Hi,
>    How do we configure tomcat on IPv6 machine? What changes need to be
> done?
> What are the exact changes in server.xml file? (where and in which format
> the ipv6 ip should be specified?)
>
> we are using tomcat 6.0.18
>
> Thanks,
> Tomcat user !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message