directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hammond, Steven" <>
Subject RE: IPV6
Date Tue, 01 Feb 2011 23:02:00 GMT
This was with Java 6, Java has postponed the fix for NIO to Java 7.  But I could have easily
read that wrong.

From: Emmanuel Lecharny []
Sent: Tuesday, February 01, 2011 3:59 PM
To: Apache Directory Developers List
Subject: Re: IPV6

Is this with Java 5 ?
On Tue, Feb 1, 2011 at 11:08 PM, Hammond, Steven <<>>
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 record for our ApacheDS server does not
have an IPv4 record in addition to the IV6 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) Failed to bind an LDAP
service (/dead:0:0:0:20c:29ff:fef3:b3fc:389) to the service registry. Address family not supported by protocol family: bind
     at Method)
     at org.apache.mina.transport.socket.nio.SocketAcceptor.registerNew(
     at org.apache.mina.transport.socket.nio.SocketAcceptor.access$800(
     at org.apache.mina.transport.socket.nio.SocketAcceptor$
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
     at java.util.concurrent.ThreadPoolExecutor$
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:

-----Original Message-----
From: Felix Knecht [<>]
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 ( IP addresses in the code...

Sure it's nod a need for the next release, but after?


Emmanuel L├ęcharny<>

View raw message