From owner-freebsd-java@FreeBSD.ORG Wed Oct 15 05:43:24 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B497106569E for ; Wed, 15 Oct 2008 05:43:24 +0000 (UTC) (envelope-from frank@harz.behrens.de) Received: from post.behrens.de (post.behrens.de [IPv6:2a01:170:1023::1:2]) by mx1.freebsd.org (Postfix) with ESMTP id C41BC8FC41 for ; Wed, 15 Oct 2008 05:43:23 +0000 (UTC) (envelope-from frank@harz.behrens.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=behrens.de; h=from:to:date:mime-version:subject:in-reply-to:references:content-type:content-transfer-encoding:content-description; s=pinky1; t=1224049402; i=frank@harz.behrens.de; bh=4UpDQrvuLiPUeXJTIvvazApTC2cvGIIujC+EJYJCyW0=; b=mslSK5JfSVBsPnd644gwXhK0GlFKahZ7+qbxKVFIHKPSJqjyAkzCFOnvgaAGp1uNFHLLPx5VYZzpBuBMhwF7EQ== Received: from sun.behrens ([IPv6:2a01:170:1023:0:894b:3296:412a:e455]) by post.behrens.de (8.14.2/8.14.2) with ESMTP-MSA id m9F5hHNa039345 for ; Wed, 15 Oct 2008 07:43:17 +0200 (CEST) (envelope-from frank@harz.behrens.de) Message-Id: <200810150543.m9F5hHNa039345@post.behrens.de> From: "Frank Behrens" To: freebsd-java@freebsd.org Date: Wed, 15 Oct 2008 07:43:18 +0200 MIME-Version: 1.0 Priority: normal In-reply-to: <20081015135405.1d207d25@ayiin> References: <200810141641.m9EGf4QG029110@post.behrens.de> X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Hashcash: 1:23:081015:freebsd-java@freebsd.org::eg/7W5ItzAJgDQPM:000000000UYtS Subject: Re: Java and IPv6 on BSD - it does not work well X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 05:43:24 -0000 Norberto Meijome wrote on 15 Oct 2008 13:54: > "Frank Behrens" 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.