So I've determined why the behavior below is experienced. The Java
documentation in >=1.4.2 states that by default on a dual-stacked (v4/
v6) machine Java will choose the IPv6 stack since it can talk to both
v4 & v6 - this is expected and good. However there is another system
property that specifies which address family java prefers when
querying DNS, and that is IPv4. Here's where I experience my
problem. Most IPv6 apps prefer the IPv6 address. My SVN http server
is dual stacked, but I can only reach the IPv6 address, so I need to
change this system property.
http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html
I've added '-Djava.net.preferIPv6Addresses=true' to eclipse.ini and
all is working for subclipse IPv6 http communication.
___________________
John Ruff
jcruff@gmail.com
GPG Key: 0x1F691195
FGPR: 6B50 37C9 10F9 6C4A D381 54B8 319D 7DD9 1F69 1195
"No one can see past a choice they don't understand." --The Oracle
On Dec 22, 2006, at 12:49 PM, Mark Phippard wrote:
> On 12/22/06, John Ruff <jcruff@gmail.com> wrote:
>> I'm not sure where support for IPv6 comes into play in order for
>> subclipse
>> to be able to add a http repository whose name resolves to an IPv6
>> address.
>> Is this in subclipse, SVNKit/JavaSVN, or some other part of
>> Eclipse itself?
>> And will/can it be enabled?
>
> It is up to the adapter. I am pretty sure SVN supports it as I have
> seen questions on their mailing list about issues with it. I believe
> that SVNKit relies on the http support in the JRE. So it would
> probably depend on whether it supports it and whether there is a Java
> system property you have to set.
>
>
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
- application/pkcs7-signature attachment: smime.p7s
Received on Sat Feb 24 23:32:17 2007