Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 79210 invoked from network); 1 Feb 2011 22:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 22:58:59 -0000 Received: (qmail 75052 invoked by uid 500); 1 Feb 2011 22:58:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 74949 invoked by uid 500); 1 Feb 2011 22:58:58 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 74942 invoked by uid 99); 1 Feb 2011 22:58:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 22:58:58 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Feb 2011 22:58:55 +0000 Received: (qmail 79135 invoked by uid 99); 1 Feb 2011 22:58:33 -0000 Received: from localhost.apache.org (HELO mail-yi0-f50.google.com) (127.0.0.1) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 22:58:33 +0000 Received: by yic1 with SMTP id 1so3183557yic.37 for ; Tue, 01 Feb 2011 14:58:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.90.78.10 with SMTP id a10mr11587390agb.89.1296601112513; Tue, 01 Feb 2011 14:58:32 -0800 (PST) Reply-To: elecharny@apache.org Received: by 10.91.109.20 with HTTP; Tue, 1 Feb 2011 14:58:32 -0800 (PST) In-Reply-To: References: <4D47BF59.6020304@otego.com> Date: Tue, 1 Feb 2011 23:58:32 +0100 Message-ID: Subject: Re: IPV6 From: Emmanuel Lecharny To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=0016361e84aeba0de1049b407867 X-Virus-Checked: Checked by ClamAV on apache.org --0016361e84aeba0de1049b407867 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is this with Java 5 ? On Tue, Feb 1, 2011 at 11:08 PM, Hammond, Steven wrote: > I may have spoken too soon. I thought we had this resolved, but our QA > person just came by and said IPV6 searches are not working if the DNS rec= ord > for our ApacheDS server does not have an IPv4 record in addition to the I= V6 > record. > > We tried to work around by putting in the ipv6 listner in LDAPserver code= , > but we run into this stack trace. Again, this is on 1.5.3. > > I set up the LdapServer on my dev box so that it would "try" to listen > using an IPV6 address: > > 2011-01-25 13:14:36,508;3219;ERROR;ds.PlcmLdapServer;(main);(null_0) Fail= ed > to bind an LDAP service (/dead:0:0:0:20c:29ff:fef3:b3fc:389) to the servi= ce > registry. > 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 > org.apache.mina.transport.socket.nio.SocketAcceptor.registerNew(SocketAcc= eptor.java:363) > at > org.apache.mina.transport.socket.nio.SocketAcceptor.access$800(SocketAcce= ptor.java:55) > at > org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(SocketAcce= ptor.java:222) > at > org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.ja= va:51) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor= .java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:908) > at java.lang.Thread.run(Thread.java:662) > 2011-01-25 13:14:36,508;3219;ERROR;ds.DsServiceImpl;(main);(null_0) faile= d > to start apacheds > > The interesting part is what I found when I googled the error: > > http://bugs.sun.com/view_bug.do?bug_id=3D6230761 > > -----Original Message----- > From: Felix Knecht [mailto:felix@otego.com] > Sent: Tuesday, February 01, 2011 1:08 AM > To: Apache Directory Developers List > Subject: IPV6 > > Hi all > > As we all know, IPv4 will run out in the next weeks/months/year ... > Is ApacheDS already IPv6 ready? > Do we need to keep this in mind when doing the refactoring now? > > At least I saw hardcoded localhost (127.0.0.1) IP addresses in the code..= . > > Sure it's nod a need for the next release, but after? > > Regards > Felix > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com --0016361e84aeba0de1049b407867 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is this with Java 5 ?

On Tue, Feb 1, 2011= at 11:08 PM, Hammond, Steven <Steven.Hammond@polycom.com> wrote:
=
I may have spoken too soon. =A0I thought we had this resolved, but our QA p= erson just came by and said IPV6 searches are not working if the DNS record= for our ApacheDS server does not have an IPv4 record in addition to the IV= 6 record.

We tried to work around by putting in the ipv6 listner in LDAPserver code, = but we run into this stack trace. =A0Again, this is on 1.5.3.

I set up the LdapServer on my dev box so that it would "try" to l= isten using an IPV6 address:

2011-01-25 13:14:36,508;3219;ERROR;ds.PlcmLdapServer;(main);(null_0) Failed= to bind an LDAP service (/dead:0:0:0:20c:29ff:fef3:b3fc:389) to the servic= e registry.
java.net.SocketException: Address family not supported by protocol family: = bind
=A0 =A0 =A0at sun.nio.ch.Net.bind(Native Method)
=A0 =A0 =A0at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelI= mpl.java:119)
=A0 =A0 =A0at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java= :59)
=A0 =A0 =A0at org.apache.mina.transport.socket.nio.SocketAcceptor.register= New(SocketAcceptor.java:363)
=A0 =A0 =A0at org.apache.mina.transport.socket.nio.SocketAcceptor.access$8= 00(SocketAcceptor.java:55)
=A0 =A0 =A0at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.r= un(SocketAcceptor.java:222)
=A0 =A0 =A0at org.apache.mina.util.NamePreservingRunnable.run(NamePreservi= ngRunnable.java:51)
=A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa= dPoolExecutor.java:886)
=A0 =A0 =A0at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo= lExecutor.java:908)
=A0 =A0 =A0at java.lang.Thread.run(Thread.java:662)
2011-01-25 13:14:36,508;3219;ERROR;ds.DsServiceImpl;(main);(null_0) failed = to start apacheds

The interesting part is what I found when I googled the error:

http://bugs.sun.com/view_bug.do?bug_id=3D6230761

-----Original Message-----
From: Felix Knecht [mailto:felix@otego.c= om]
Sent: Tuesday, February 01, 2011 1:08 AM
To: Apache Directory Developers List
Subject: IPV6

Hi all

As we all know, IPv4 will run out in the next weeks/months/year ...
Is ApacheDS already IPv6 ready?
Do we need to keep this in mind when doing the refactoring now?

At least I saw hardcoded localhost (127.0.0.1) IP addresses in the code...<= br>
Sure it's nod a need for the next release, but after?

Regards
Felix



--
Regards,Cordialement,
Emmanuel L=E9charny
w= ww.iktek.com
--0016361e84aeba0de1049b407867--