Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 07:43:18 +0200
From:      "Frank Behrens" <frank@harz.behrens.de>
To:        freebsd-java@freebsd.org
Subject:   Re: Java and IPv6 on BSD - it does not work well
Message-ID:  <200810150543.m9F5hHNa039345@post.behrens.de>
In-Reply-To: <20081015135405.1d207d25@ayiin>
References:  <200810141641.m9EGf4QG029110@post.behrens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Norberto Meijome <numardbsd@gmail.com> wrote on 15 Oct 2008 13:54:
> "Frank Behrens" <frank@harz.behrens.de> wrote:
> 
> > You can read the complete test description and my observations on
> > http://diario.behrens.de/2008/10/12/java_and_ipv6_on_bsd.html
> 
> I cannot resolve the FQDN

Really? I had enough page requests to be sure it works.

> I have ipv6 enabled, but not configured. Any of my java programs that uses

May be that's also the reason for your problem with the above 
mentioned website. It will resolve to an IPv6 address, too. :-)

> network will fail unless i force it to use IPV4 with -Djava.net.preferIPv4Stack=true
> ( I actually have that in my default shell : 
> JAVAVM_OPTS_javaws=-J-Djava.net.preferIPv4Stack=true
> JAVAVM_OPTS_java=-Djava.net.preferIPv4Stack=true

Yes, this is an easy solvable problem, if you want to use IPv4 only. 
But if you want to use IPv4 and IPv6 in parallel you will get more 
problems. Try to read the complete report...

Regards,
   Frank

-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810150543.m9F5hHNa039345>