You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Norval Hope <nr...@gmail.com> on 2008/01/16 12:10:13 UTC

ApacheDS and ipv6 support on windows

Hi All,

I was recently flabbergasted to find out that no Sun JDK 1.5+ supports NIO
sever support over ipv6 on any version of Windows (due to lack of support
for dual-mode sockets in the underlying Windows stack implementation), and
that the situation is only likely to be resolved in the future in JDK 7 on
top of Vista (refer
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).

Hence my current understanding is that clients who want ApacheDS to listen
on an ipv6 socket at start-up will have to use a Unix variant on which the
JDK doesn't suffer this problem. Have I missed / misunderstsood anything
here, or is there perhaps another JDK implementation with an enhanced NIO
implementation (or some other cunning technique) that may represent a "get
out of jail" card for me and my clients as far as pre-Vista Windows is
concerned?

Many thanks.

Re: ApacheDS and ipv6 support on windows

Posted by Alex Karasulu <ak...@apache.org>.
Cool I did not know the API transport bought us all that.

Excellent! Thanks for the hint.

Alex

On Jan 28, 2008 4:07 AM, Julien Vermillard <jv...@archean.fr> wrote:

> Hi,
> I don't see simple answer to this question, except waiting jdk7.
> But with MINA2.0, and the APR based Acceptor/Connector you have
> everything for bind an IPv6 port on Windows if APR support it.
>
> I'm not sure to help a lot there ;)
>
> Julien
>
> On Mon, 21 Jan 2008 13:55:25 +1100
> "Norval Hope" <nr...@gmail.com> wrote:
>
> > reposting as didn't seem to make it onto MINA dev list, perhaps
> > because my subscription hadn't been confirmed ...
> >
> > On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:
> >
> > > I'm cross posting this query to the MINA dev list about support for
> > > ApacheDS listening on an ipv6 socket on Windows.
> > > My first posting was:
> > >
> > > -----------------
> > >  I was recently flabbergasted to find out that no Sun JDK 1.5+
> > > supports NIO sever support over ipv6 on any version of Windows (due
> > > to lack of support for dual-mode sockets in the underlying Windows
> > > stack implementation), and that the situation is only likely to be
> > > resolved in the future in JDK 7 on top of Vista (refer
> > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
> > >
> > > Hence my current understanding is that clients who want ApacheDS to
> > > listen on an ipv6 socket at start-up will have to use a Unix
> > > variant on which the JDK doesn't suffer this problem. Have I
> > > missed / misunderstsood anything here, or is there perhaps another
> > > JDK implementation with an enhanced NIO implementation (or some
> > > other cunning technique) that may represent a "get out of jail"
> > > card for me and my clients as far as pre-Vista Windows is concerned?
> > >
> > > Many thanks.
> > > --------------------
> > >
> > > As MINA (very sensibly) uses NIO server socket channels, it
> > > unfortunately seems there will be a problem until an extension is
> > > made to JDK 7 running on top of Vista. Note the bug link above
> > > provides a test program which can be used to verify whether a
> > > particular configuration displays the problem or not.
> > >
> > > I'm not sure if running a different JDK implementation may help due
> > > to different bundled NIO implementations, but this is most probably
> > > not really an option for my customers.
> > >
> > > Any help / comments greatly appreciated.
> > >
> > > Thanks
> > >   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com>
> > > wrote:
> > >
> > > > Alex Karasulu wrote:
> > > > > I don't know about this but MINA may be a consideration here.
> > > > > Does MINA allow for IPv6?  Does it care?
> > > > The problem is that IPV6 is the default stack on Windows...
> > > > Unless we see an urge of Linux and MacOSX stations, we may have
> > > > some kind of problem... (btw, I think that linux will see a huge
> > > > increase as Asus eee and similar computers will be sold by
> > > > millions soon ...)
> > > >
> > > > But I thought that if your desktop is IPV6 based, it should still
> > > > be able to communicate with a IPV4 stack, otherwise, I can't see
> > > > how those millions computers installed with many flavors of
> > > > W$+Virii+spywares+rootkits will be able to connect to all those
> > > > retarded web sites which still use Linux + Apache HTTPd server on
> > > > a IPV4 stack ...
> > > >
> > > > Don't know exactly... I'm not really a specialist. May be posting
> > > > this question to MINA will be the best move !
> > > >
> > > > >
> > > > > I've not even considered IPv6.  I'm not really interested in it
> > > > > at this point but if we have to move to JDK 1.7 to support it
> > > > > people are going to be really pissed off.  Yet another ugly
> > > > > balancing act.
> > > > >
> > > > > Alex
> > > > >
> > > > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > > > <ma...@gmail.com>> wrote:
> > > > >
> > > > >     Norval Hope wrote:
> > > > >     > Thanks for the feedback.
> > > > >     >
> > > > >     > However, my problem is the other way around - i.e. the
> > > > >     > client
> > > > wants
> > > > >     > ApacheDS to listen on an ipv6 socket only.
> > > > >     Have you tried with JRockit or IBM JVM?
> > > > >
> > > > >     --
> > > > >     --
> > > > >     cordialement, regards,
> > > > >     Emmanuel Lécharny
> > > > >     www.iktek.com <http://www.iktek.com>
> > > > >     directory.apache.org <http://directory.apache.org>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >  --
> > > > cordialement, regards,
> > > > Emmanuel Lécharny
> > > > www.iktek.com
> > > > directory.apache.org
> > > >
> > > >
> > > >
> > >
>

Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
Thanks for the feedback. Further research has convinced me that the NIO
library implementation in the JRockit VM suffers the same problem,. I didn't
find anything explicitly referring to the IBM VM implementation in regards
to this issue, but I have very little hope in that direction now either.

Hence I think the only solution to ipv6 support is to recommend deployment
on Unix, until a) jdk 1.7 is patched and b) there is a server variant of
Windows that has the IPV6 stack support released in Vista.

On Jan 28, 2008 8:07 PM, Julien Vermillard <jv...@archean.fr> wrote:

> Hi,
> I don't see simple answer to this question, except waiting jdk7.
> But with MINA2.0, and the APR based Acceptor/Connector you have
> everything for bind an IPv6 port on Windows if APR support it.
>
> I'm not sure to help a lot there ;)
>
> Julien
>
> On Mon, 21 Jan 2008 13:55:25 +1100
> "Norval Hope" <nr...@gmail.com> wrote:
>
> > reposting as didn't seem to make it onto MINA dev list, perhaps
> > because my subscription hadn't been confirmed ...
> >
> > On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:
> >
> > > I'm cross posting this query to the MINA dev list about support for
> > > ApacheDS listening on an ipv6 socket on Windows.
> > > My first posting was:
> > >
> > > -----------------
> > >  I was recently flabbergasted to find out that no Sun JDK 1.5+
> > > supports NIO sever support over ipv6 on any version of Windows (due
> > > to lack of support for dual-mode sockets in the underlying Windows
> > > stack implementation), and that the situation is only likely to be
> > > resolved in the future in JDK 7 on top of Vista (refer
> > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
> > >
> > > Hence my current understanding is that clients who want ApacheDS to
> > > listen on an ipv6 socket at start-up will have to use a Unix
> > > variant on which the JDK doesn't suffer this problem. Have I
> > > missed / misunderstsood anything here, or is there perhaps another
> > > JDK implementation with an enhanced NIO implementation (or some
> > > other cunning technique) that may represent a "get out of jail"
> > > card for me and my clients as far as pre-Vista Windows is concerned?
> > >
> > > Many thanks.
> > > --------------------
> > >
> > > As MINA (very sensibly) uses NIO server socket channels, it
> > > unfortunately seems there will be a problem until an extension is
> > > made to JDK 7 running on top of Vista. Note the bug link above
> > > provides a test program which can be used to verify whether a
> > > particular configuration displays the problem or not.
> > >
> > > I'm not sure if running a different JDK implementation may help due
> > > to different bundled NIO implementations, but this is most probably
> > > not really an option for my customers.
> > >
> > > Any help / comments greatly appreciated.
> > >
> > > Thanks
> > >   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com>
> > > wrote:
> > >
> > > > Alex Karasulu wrote:
> > > > > I don't know about this but MINA may be a consideration here.
> > > > > Does MINA allow for IPv6?  Does it care?
> > > > The problem is that IPV6 is the default stack on Windows...
> > > > Unless we see an urge of Linux and MacOSX stations, we may have
> > > > some kind of problem... (btw, I think that linux will see a huge
> > > > increase as Asus eee and similar computers will be sold by
> > > > millions soon ...)
> > > >
> > > > But I thought that if your desktop is IPV6 based, it should still
> > > > be able to communicate with a IPV4 stack, otherwise, I can't see
> > > > how those millions computers installed with many flavors of
> > > > W$+Virii+spywares+rootkits will be able to connect to all those
> > > > retarded web sites which still use Linux + Apache HTTPd server on
> > > > a IPV4 stack ...
> > > >
> > > > Don't know exactly... I'm not really a specialist. May be posting
> > > > this question to MINA will be the best move !
> > > >
> > > > >
> > > > > I've not even considered IPv6.  I'm not really interested in it
> > > > > at this point but if we have to move to JDK 1.7 to support it
> > > > > people are going to be really pissed off.  Yet another ugly
> > > > > balancing act.
> > > > >
> > > > > Alex
> > > > >
> > > > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > > > <ma...@gmail.com>> wrote:
> > > > >
> > > > >     Norval Hope wrote:
> > > > >     > Thanks for the feedback.
> > > > >     >
> > > > >     > However, my problem is the other way around - i.e. the
> > > > >     > client
> > > > wants
> > > > >     > ApacheDS to listen on an ipv6 socket only.
> > > > >     Have you tried with JRockit or IBM JVM?
> > > > >
> > > > >     --
> > > > >     --
> > > > >     cordialement, regards,
> > > > >     Emmanuel Lécharny
> > > > >     www.iktek.com <http://www.iktek.com>
> > > > >     directory.apache.org <http://directory.apache.org>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >  --
> > > > cordialement, regards,
> > > > Emmanuel Lécharny
> > > > www.iktek.com
> > > > directory.apache.org
> > > >
> > > >
> > > >
> > >
>

Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
Thanks for the feedback. Further research has convinced me that the NIO
library implementation in the JRockit VM suffers the same problem,. I didn't
find anything explicitly referring to the IBM VM implementation in regards
to this issue, but I have very little hope in that direction now either.

Hence I think the only solution to ipv6 support is to recommend deployment
on Unix, until a) jdk 1.7 is patched and b) there is a server variant of
Windows that has the IPV6 stack support released in Vista.

On Jan 28, 2008 8:07 PM, Julien Vermillard <jv...@archean.fr> wrote:

> Hi,
> I don't see simple answer to this question, except waiting jdk7.
> But with MINA2.0, and the APR based Acceptor/Connector you have
> everything for bind an IPv6 port on Windows if APR support it.
>
> I'm not sure to help a lot there ;)
>
> Julien
>
> On Mon, 21 Jan 2008 13:55:25 +1100
> "Norval Hope" <nr...@gmail.com> wrote:
>
> > reposting as didn't seem to make it onto MINA dev list, perhaps
> > because my subscription hadn't been confirmed ...
> >
> > On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:
> >
> > > I'm cross posting this query to the MINA dev list about support for
> > > ApacheDS listening on an ipv6 socket on Windows.
> > > My first posting was:
> > >
> > > -----------------
> > >  I was recently flabbergasted to find out that no Sun JDK 1.5+
> > > supports NIO sever support over ipv6 on any version of Windows (due
> > > to lack of support for dual-mode sockets in the underlying Windows
> > > stack implementation), and that the situation is only likely to be
> > > resolved in the future in JDK 7 on top of Vista (refer
> > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
> > >
> > > Hence my current understanding is that clients who want ApacheDS to
> > > listen on an ipv6 socket at start-up will have to use a Unix
> > > variant on which the JDK doesn't suffer this problem. Have I
> > > missed / misunderstsood anything here, or is there perhaps another
> > > JDK implementation with an enhanced NIO implementation (or some
> > > other cunning technique) that may represent a "get out of jail"
> > > card for me and my clients as far as pre-Vista Windows is concerned?
> > >
> > > Many thanks.
> > > --------------------
> > >
> > > As MINA (very sensibly) uses NIO server socket channels, it
> > > unfortunately seems there will be a problem until an extension is
> > > made to JDK 7 running on top of Vista. Note the bug link above
> > > provides a test program which can be used to verify whether a
> > > particular configuration displays the problem or not.
> > >
> > > I'm not sure if running a different JDK implementation may help due
> > > to different bundled NIO implementations, but this is most probably
> > > not really an option for my customers.
> > >
> > > Any help / comments greatly appreciated.
> > >
> > > Thanks
> > >   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com>
> > > wrote:
> > >
> > > > Alex Karasulu wrote:
> > > > > I don't know about this but MINA may be a consideration here.
> > > > > Does MINA allow for IPv6?  Does it care?
> > > > The problem is that IPV6 is the default stack on Windows...
> > > > Unless we see an urge of Linux and MacOSX stations, we may have
> > > > some kind of problem... (btw, I think that linux will see a huge
> > > > increase as Asus eee and similar computers will be sold by
> > > > millions soon ...)
> > > >
> > > > But I thought that if your desktop is IPV6 based, it should still
> > > > be able to communicate with a IPV4 stack, otherwise, I can't see
> > > > how those millions computers installed with many flavors of
> > > > W$+Virii+spywares+rootkits will be able to connect to all those
> > > > retarded web sites which still use Linux + Apache HTTPd server on
> > > > a IPV4 stack ...
> > > >
> > > > Don't know exactly... I'm not really a specialist. May be posting
> > > > this question to MINA will be the best move !
> > > >
> > > > >
> > > > > I've not even considered IPv6.  I'm not really interested in it
> > > > > at this point but if we have to move to JDK 1.7 to support it
> > > > > people are going to be really pissed off.  Yet another ugly
> > > > > balancing act.
> > > > >
> > > > > Alex
> > > > >
> > > > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > > > <ma...@gmail.com>> wrote:
> > > > >
> > > > >     Norval Hope wrote:
> > > > >     > Thanks for the feedback.
> > > > >     >
> > > > >     > However, my problem is the other way around - i.e. the
> > > > >     > client
> > > > wants
> > > > >     > ApacheDS to listen on an ipv6 socket only.
> > > > >     Have you tried with JRockit or IBM JVM?
> > > > >
> > > > >     --
> > > > >     --
> > > > >     cordialement, regards,
> > > > >     Emmanuel Lécharny
> > > > >     www.iktek.com <http://www.iktek.com>
> > > > >     directory.apache.org <http://directory.apache.org>
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >  --
> > > > cordialement, regards,
> > > > Emmanuel Lécharny
> > > > www.iktek.com
> > > > directory.apache.org
> > > >
> > > >
> > > >
> > >
>

Re: ApacheDS and ipv6 support on windows

Posted by Julien Vermillard <jv...@archean.fr>.
Hi,
I don't see simple answer to this question, except waiting jdk7.
But with MINA2.0, and the APR based Acceptor/Connector you have
everything for bind an IPv6 port on Windows if APR support it.

I'm not sure to help a lot there ;)

Julien

On Mon, 21 Jan 2008 13:55:25 +1100
"Norval Hope" <nr...@gmail.com> wrote:

> reposting as didn't seem to make it onto MINA dev list, perhaps
> because my subscription hadn't been confirmed ...
> 
> On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:
> 
> > I'm cross posting this query to the MINA dev list about support for
> > ApacheDS listening on an ipv6 socket on Windows.
> > My first posting was:
> >
> > -----------------
> >  I was recently flabbergasted to find out that no Sun JDK 1.5+
> > supports NIO sever support over ipv6 on any version of Windows (due
> > to lack of support for dual-mode sockets in the underlying Windows
> > stack implementation), and that the situation is only likely to be
> > resolved in the future in JDK 7 on top of Vista (refer
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
> >
> > Hence my current understanding is that clients who want ApacheDS to
> > listen on an ipv6 socket at start-up will have to use a Unix
> > variant on which the JDK doesn't suffer this problem. Have I
> > missed / misunderstsood anything here, or is there perhaps another
> > JDK implementation with an enhanced NIO implementation (or some
> > other cunning technique) that may represent a "get out of jail"
> > card for me and my clients as far as pre-Vista Windows is concerned?
> >
> > Many thanks.
> > --------------------
> >
> > As MINA (very sensibly) uses NIO server socket channels, it
> > unfortunately seems there will be a problem until an extension is
> > made to JDK 7 running on top of Vista. Note the bug link above
> > provides a test program which can be used to verify whether a
> > particular configuration displays the problem or not.
> >
> > I'm not sure if running a different JDK implementation may help due
> > to different bundled NIO implementations, but this is most probably
> > not really an option for my customers.
> >
> > Any help / comments greatly appreciated.
> >
> > Thanks
> >   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com>
> > wrote:
> >
> > > Alex Karasulu wrote:
> > > > I don't know about this but MINA may be a consideration here.
> > > > Does MINA allow for IPv6?  Does it care?
> > > The problem is that IPV6 is the default stack on Windows...
> > > Unless we see an urge of Linux and MacOSX stations, we may have
> > > some kind of problem... (btw, I think that linux will see a huge
> > > increase as Asus eee and similar computers will be sold by
> > > millions soon ...)
> > >
> > > But I thought that if your desktop is IPV6 based, it should still
> > > be able to communicate with a IPV4 stack, otherwise, I can't see
> > > how those millions computers installed with many flavors of
> > > W$+Virii+spywares+rootkits will be able to connect to all those
> > > retarded web sites which still use Linux + Apache HTTPd server on
> > > a IPV4 stack ...
> > >
> > > Don't know exactly... I'm not really a specialist. May be posting
> > > this question to MINA will be the best move !
> > >
> > > >
> > > > I've not even considered IPv6.  I'm not really interested in it
> > > > at this point but if we have to move to JDK 1.7 to support it
> > > > people are going to be really pissed off.  Yet another ugly
> > > > balancing act.
> > > >
> > > > Alex
> > > >
> > > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > > <ma...@gmail.com>> wrote:
> > > >
> > > >     Norval Hope wrote:
> > > >     > Thanks for the feedback.
> > > >     >
> > > >     > However, my problem is the other way around - i.e. the
> > > >     > client
> > > wants
> > > >     > ApacheDS to listen on an ipv6 socket only.
> > > >     Have you tried with JRockit or IBM JVM?
> > > >
> > > >     --
> > > >     --
> > > >     cordialement, regards,
> > > >     Emmanuel Lécharny
> > > >     www.iktek.com <http://www.iktek.com>
> > > >     directory.apache.org <http://directory.apache.org>
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >  --
> > > cordialement, regards,
> > > Emmanuel Lécharny
> > > www.iktek.com
> > > directory.apache.org
> > >
> > >
> > >
> >

Re: ApacheDS and ipv6 support on windows

Posted by Julien Vermillard <jv...@archean.fr>.
Hi,
I don't see simple answer to this question, except waiting jdk7.
But with MINA2.0, and the APR based Acceptor/Connector you have
everything for bind an IPv6 port on Windows if APR support it.

I'm not sure to help a lot there ;)

Julien

On Mon, 21 Jan 2008 13:55:25 +1100
"Norval Hope" <nr...@gmail.com> wrote:

> reposting as didn't seem to make it onto MINA dev list, perhaps
> because my subscription hadn't been confirmed ...
> 
> On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:
> 
> > I'm cross posting this query to the MINA dev list about support for
> > ApacheDS listening on an ipv6 socket on Windows.
> > My first posting was:
> >
> > -----------------
> >  I was recently flabbergasted to find out that no Sun JDK 1.5+
> > supports NIO sever support over ipv6 on any version of Windows (due
> > to lack of support for dual-mode sockets in the underlying Windows
> > stack implementation), and that the situation is only likely to be
> > resolved in the future in JDK 7 on top of Vista (refer
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
> >
> > Hence my current understanding is that clients who want ApacheDS to
> > listen on an ipv6 socket at start-up will have to use a Unix
> > variant on which the JDK doesn't suffer this problem. Have I
> > missed / misunderstsood anything here, or is there perhaps another
> > JDK implementation with an enhanced NIO implementation (or some
> > other cunning technique) that may represent a "get out of jail"
> > card for me and my clients as far as pre-Vista Windows is concerned?
> >
> > Many thanks.
> > --------------------
> >
> > As MINA (very sensibly) uses NIO server socket channels, it
> > unfortunately seems there will be a problem until an extension is
> > made to JDK 7 running on top of Vista. Note the bug link above
> > provides a test program which can be used to verify whether a
> > particular configuration displays the problem or not.
> >
> > I'm not sure if running a different JDK implementation may help due
> > to different bundled NIO implementations, but this is most probably
> > not really an option for my customers.
> >
> > Any help / comments greatly appreciated.
> >
> > Thanks
> >   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com>
> > wrote:
> >
> > > Alex Karasulu wrote:
> > > > I don't know about this but MINA may be a consideration here.
> > > > Does MINA allow for IPv6?  Does it care?
> > > The problem is that IPV6 is the default stack on Windows...
> > > Unless we see an urge of Linux and MacOSX stations, we may have
> > > some kind of problem... (btw, I think that linux will see a huge
> > > increase as Asus eee and similar computers will be sold by
> > > millions soon ...)
> > >
> > > But I thought that if your desktop is IPV6 based, it should still
> > > be able to communicate with a IPV4 stack, otherwise, I can't see
> > > how those millions computers installed with many flavors of
> > > W$+Virii+spywares+rootkits will be able to connect to all those
> > > retarded web sites which still use Linux + Apache HTTPd server on
> > > a IPV4 stack ...
> > >
> > > Don't know exactly... I'm not really a specialist. May be posting
> > > this question to MINA will be the best move !
> > >
> > > >
> > > > I've not even considered IPv6.  I'm not really interested in it
> > > > at this point but if we have to move to JDK 1.7 to support it
> > > > people are going to be really pissed off.  Yet another ugly
> > > > balancing act.
> > > >
> > > > Alex
> > > >
> > > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > > <ma...@gmail.com>> wrote:
> > > >
> > > >     Norval Hope wrote:
> > > >     > Thanks for the feedback.
> > > >     >
> > > >     > However, my problem is the other way around - i.e. the
> > > >     > client
> > > wants
> > > >     > ApacheDS to listen on an ipv6 socket only.
> > > >     Have you tried with JRockit or IBM JVM?
> > > >
> > > >     --
> > > >     --
> > > >     cordialement, regards,
> > > >     Emmanuel Lécharny
> > > >     www.iktek.com <http://www.iktek.com>
> > > >     directory.apache.org <http://directory.apache.org>
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >  --
> > > cordialement, regards,
> > > Emmanuel Lécharny
> > > www.iktek.com
> > > directory.apache.org
> > >
> > >
> > >
> >

Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
reposting as didn't seem to make it onto MINA dev list, perhaps because my
subscription hadn't been confirmed ...

On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:

> I'm cross posting this query to the MINA dev list about support for
> ApacheDS listening on an ipv6 socket on Windows.
> My first posting was:
>
> -----------------
>  I was recently flabbergasted to find out that no Sun JDK 1.5+ supports
> NIO sever support over ipv6 on any version of Windows (due to lack of
> support for dual-mode sockets in the underlying Windows stack
> implementation), and that the situation is only likely to be resolved in the
> future in JDK 7 on top of Vista (refer
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
>
> Hence my current understanding is that clients who want ApacheDS to listen
> on an ipv6 socket at start-up will have to use a Unix variant on which the
> JDK doesn't suffer this problem. Have I missed / misunderstsood anything
> here, or is there perhaps another JDK implementation with an enhanced NIO
> implementation (or some other cunning technique) that may represent a "get
> out of jail" card for me and my clients as far as pre-Vista Windows is
> concerned?
>
> Many thanks.
> --------------------
>
> As MINA (very sensibly) uses NIO server socket channels, it unfortunately
> seems there will be a problem until an extension is made to JDK 7 running on
> top of Vista. Note the bug link above provides a test program which can be
> used to verify whether a particular configuration displays the problem or
> not.
>
> I'm not sure if running a different JDK implementation may help due to
> different bundled NIO implementations, but this is most probably not really
> an option for my customers.
>
> Any help / comments greatly appreciated.
>
> Thanks
>   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com> wrote:
>
> > Alex Karasulu wrote:
> > > I don't know about this but MINA may be a consideration here.  Does
> > > MINA allow for IPv6?  Does it care?
> > The problem is that IPV6 is the default stack on Windows... Unless we
> > see an urge of Linux and MacOSX stations, we may have some kind of
> > problem... (btw, I think that linux will see a huge increase as Asus eee
> > and similar computers will be sold by millions soon ...)
> >
> > But I thought that if your desktop is IPV6 based, it should still be
> > able to communicate with a IPV4 stack, otherwise, I can't see how those
> > millions computers installed with many flavors of
> > W$+Virii+spywares+rootkits will be able to connect to all those retarded
> > web sites which still use Linux + Apache HTTPd server on a IPV4 stack
> > ...
> >
> > Don't know exactly... I'm not really a specialist. May be posting this
> > question to MINA will be the best move !
> >
> > >
> > > I've not even considered IPv6.  I'm not really interested in it at
> > > this point but if we have to move to JDK 1.7 to support it people are
> > > going to be really pissed off.  Yet another ugly balancing act.
> > >
> > > Alex
> > >
> > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > <ma...@gmail.com>> wrote:
> > >
> > >     Norval Hope wrote:
> > >     > Thanks for the feedback.
> > >     >
> > >     > However, my problem is the other way around - i.e. the client
> > wants
> > >     > ApacheDS to listen on an ipv6 socket only.
> > >     Have you tried with JRockit or IBM JVM?
> > >
> > >     --
> > >     --
> > >     cordialement, regards,
> > >     Emmanuel Lécharny
> > >     www.iktek.com <http://www.iktek.com>
> > >     directory.apache.org <http://directory.apache.org>
> > >
> > >
> > >
> >
> >
> > --
> >  --
> > cordialement, regards,
> > Emmanuel Lécharny
> > www.iktek.com
> > directory.apache.org
> >
> >
> >
>

Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
reposting as didn't seem to make it onto MINA dev list, perhaps because my
subscription hadn't been confirmed ...

On Jan 17, 2008 12:58 PM, Norval Hope <nr...@gmail.com> wrote:

> I'm cross posting this query to the MINA dev list about support for
> ApacheDS listening on an ipv6 socket on Windows.
> My first posting was:
>
> -----------------
>  I was recently flabbergasted to find out that no Sun JDK 1.5+ supports
> NIO sever support over ipv6 on any version of Windows (due to lack of
> support for dual-mode sockets in the underlying Windows stack
> implementation), and that the situation is only likely to be resolved in the
> future in JDK 7 on top of Vista (refer
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
>
> Hence my current understanding is that clients who want ApacheDS to listen
> on an ipv6 socket at start-up will have to use a Unix variant on which the
> JDK doesn't suffer this problem. Have I missed / misunderstsood anything
> here, or is there perhaps another JDK implementation with an enhanced NIO
> implementation (or some other cunning technique) that may represent a "get
> out of jail" card for me and my clients as far as pre-Vista Windows is
> concerned?
>
> Many thanks.
> --------------------
>
> As MINA (very sensibly) uses NIO server socket channels, it unfortunately
> seems there will be a problem until an extension is made to JDK 7 running on
> top of Vista. Note the bug link above provides a test program which can be
> used to verify whether a particular configuration displays the problem or
> not.
>
> I'm not sure if running a different JDK implementation may help due to
> different bundled NIO implementations, but this is most probably not really
> an option for my customers.
>
> Any help / comments greatly appreciated.
>
> Thanks
>   On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com> wrote:
>
> > Alex Karasulu wrote:
> > > I don't know about this but MINA may be a consideration here.  Does
> > > MINA allow for IPv6?  Does it care?
> > The problem is that IPV6 is the default stack on Windows... Unless we
> > see an urge of Linux and MacOSX stations, we may have some kind of
> > problem... (btw, I think that linux will see a huge increase as Asus eee
> > and similar computers will be sold by millions soon ...)
> >
> > But I thought that if your desktop is IPV6 based, it should still be
> > able to communicate with a IPV4 stack, otherwise, I can't see how those
> > millions computers installed with many flavors of
> > W$+Virii+spywares+rootkits will be able to connect to all those retarded
> > web sites which still use Linux + Apache HTTPd server on a IPV4 stack
> > ...
> >
> > Don't know exactly... I'm not really a specialist. May be posting this
> > question to MINA will be the best move !
> >
> > >
> > > I've not even considered IPv6.  I'm not really interested in it at
> > > this point but if we have to move to JDK 1.7 to support it people are
> > > going to be really pissed off.  Yet another ugly balancing act.
> > >
> > > Alex
> > >
> > > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > > <ma...@gmail.com>> wrote:
> > >
> > >     Norval Hope wrote:
> > >     > Thanks for the feedback.
> > >     >
> > >     > However, my problem is the other way around - i.e. the client
> > wants
> > >     > ApacheDS to listen on an ipv6 socket only.
> > >     Have you tried with JRockit or IBM JVM?
> > >
> > >     --
> > >     --
> > >     cordialement, regards,
> > >     Emmanuel Lécharny
> > >     www.iktek.com <http://www.iktek.com>
> > >     directory.apache.org <http://directory.apache.org>
> > >
> > >
> > >
> >
> >
> > --
> >  --
> > cordialement, regards,
> > Emmanuel Lécharny
> > www.iktek.com
> > directory.apache.org
> >
> >
> >
>

Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
I'm cross posting this query to the MINA dev list about support for ApacheDS
listening on an ipv6 socket on Windows.
My first posting was:

-----------------
I was recently flabbergasted to find out that no Sun JDK 1.5+ supports NIO
sever support over ipv6 on any version of Windows (due to lack of support
for dual-mode sockets in the underlying Windows stack implementation), and
that the situation is only likely to be resolved in the future in JDK 7 on
top of Vista (refer
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).

Hence my current understanding is that clients who want ApacheDS to listen
on an ipv6 socket at start-up will have to use a Unix variant on which the
JDK doesn't suffer this problem. Have I missed / misunderstsood anything
here, or is there perhaps another JDK implementation with an enhanced NIO
implementation (or some other cunning technique) that may represent a "get
out of jail" card for me and my clients as far as pre-Vista Windows is
concerned?

Many thanks.
--------------------

As MINA (very sensibly) uses NIO server socket channels, it unfortunately
seems there will be a problem until an extension is made to JDK 7 running on
top of Vista. Note the bug link above provides a test program which can be
used to verify whether a particular configuration displays the problem or
not.

I'm not sure if running a different JDK implementation may help due to
different bundled NIO implementations, but this is most probably not really
an option for my customers.

Any help / comments greatly appreciated.

Thanks
On Jan 17, 2008 2:24 AM, Emmanuel Lecharny <el...@gmail.com> wrote:

> Alex Karasulu wrote:
> > I don't know about this but MINA may be a consideration here.  Does
> > MINA allow for IPv6?  Does it care?
> The problem is that IPV6 is the default stack on Windows... Unless we
> see an urge of Linux and MacOSX stations, we may have some kind of
> problem... (btw, I think that linux will see a huge increase as Asus eee
> and similar computers will be sold by millions soon ...)
>
> But I thought that if your desktop is IPV6 based, it should still be
> able to communicate with a IPV4 stack, otherwise, I can't see how those
> millions computers installed with many flavors of
> W$+Virii+spywares+rootkits will be able to connect to all those retarded
> web sites which still use Linux + Apache HTTPd server on a IPV4 stack ...
>
> Don't know exactly... I'm not really a specialist. May be posting this
> question to MINA will be the best move !
>
> >
> > I've not even considered IPv6.  I'm not really interested in it at
> > this point but if we have to move to JDK 1.7 to support it people are
> > going to be really pissed off.  Yet another ugly balancing act.
> >
> > Alex
> >
> > On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> >     Norval Hope wrote:
> >     > Thanks for the feedback.
> >     >
> >     > However, my problem is the other way around - i.e. the client
> wants
> >     > ApacheDS to listen on an ipv6 socket only.
> >     Have you tried with JRockit or IBM JVM?
> >
> >     --
> >     --
> >     cordialement, regards,
> >     Emmanuel Lécharny
> >     www.iktek.com <http://www.iktek.com>
> >     directory.apache.org <http://directory.apache.org>
> >
> >
> >
>
>
> --
>  --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS and ipv6 support on windows

Posted by Emmanuel Lecharny <el...@gmail.com>.
Alex Karasulu wrote:
> I don't know about this but MINA may be a consideration here.  Does 
> MINA allow for IPv6?  Does it care?
The problem is that IPV6 is the default stack on Windows... Unless we 
see an urge of Linux and MacOSX stations, we may have some kind of 
problem... (btw, I think that linux will see a huge increase as Asus eee 
and similar computers will be sold by millions soon ...)

But I thought that if your desktop is IPV6 based, it should still be 
able to communicate with a IPV4 stack, otherwise, I can't see how those 
millions computers installed with many flavors of 
W$+Virii+spywares+rootkits will be able to connect to all those retarded 
web sites which still use Linux + Apache HTTPd server on a IPV4 stack ...

Don't know exactly... I'm not really a specialist. May be posting this 
question to MINA will be the best move !

>
> I've not even considered IPv6.  I'm not really interested in it at 
> this point but if we have to move to JDK 1.7 to support it people are 
> going to be really pissed off.  Yet another ugly balancing act.
>
> Alex
>
> On Jan 16, 2008 7:14 AM, Emmanuel Lecharny < elecharny@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Norval Hope wrote:
>     > Thanks for the feedback.
>     >
>     > However, my problem is the other way around - i.e. the client wants
>     > ApacheDS to listen on an ipv6 socket only.
>     Have you tried with JRockit or IBM JVM?
>
>     --
>     --
>     cordialement, regards,
>     Emmanuel Lécharny
>     www.iktek.com <http://www.iktek.com>
>     directory.apache.org <http://directory.apache.org>
>
>
>


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS and ipv6 support on windows

Posted by Alex Karasulu <ak...@apache.org>.
I don't know about this but MINA may be a consideration here.  Does MINA
allow for IPv6?  Does it care?

I've not even considered IPv6.  I'm not really interested in it at this
point but if we have to move to JDK 1.7 to support it people are going to be
really pissed off.  Yet another ugly balancing act.

Alex

On Jan 16, 2008 7:14 AM, Emmanuel Lecharny <el...@gmail.com> wrote:

> Norval Hope wrote:
> > Thanks for the feedback.
> >
> > However, my problem is the other way around - i.e. the client wants
> > ApacheDS to listen on an ipv6 socket only.
> Have you tried with JRockit or IBM JVM?
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS and ipv6 support on windows

Posted by Emmanuel Lecharny <el...@gmail.com>.
Norval Hope wrote:
> Thanks for the feedback.
>  
> However, my problem is the other way around - i.e. the client wants 
> ApacheDS to listen on an ipv6 socket only.
Have you tried with JRockit or IBM JVM?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS and ipv6 support on windows

Posted by Norval Hope <nr...@gmail.com>.
Thanks for the feedback.

However, my problem is the other way around - i.e. the client wants ApacheDS
to listen on an ipv6 socket only.

Re: ApacheDS and ipv6 support on windows

Posted by Emmanuel Lecharny <el...@gmail.com>.
Norval Hope wrote:
> Hi All,
>  
> I was recently flabbergasted to find out that no Sun JDK 1.5+ supports 
> NIO sever support over ipv6 on any version of Windows (due to lack of 
> support for dual-mode sockets in the underlying Windows stack 
> implementation), and that the situation is only likely to be resolved 
> in the future in JDK 7 on top of Vista (refer 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761 ).
>  
> Hence my current understanding is that clients who want ApacheDS to 
> listen on an ipv6 socket at start-up will have to use a Unix variant 
> on which the JDK doesn't suffer this problem. Have I missed / 
> misunderstsood anything here, or is there perhaps another JDK 
> implementation with an enhanced NIO implementation (or some other 
> cunning technique) that may represent a "get out of jail" card for me 
> and my clients as far as pre-Vista Windows is concerned?
>  
> Many thanks.
You should be able to make it work using this flag to the JVM CL :
/-Djava.net.preferIPv4Stack=true/

The server will now listen on an IPV4 socket at startup.

Hope it helps.


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org