From owner-freebsd-java@FreeBSD.ORG Wed Nov 21 15:04:01 2007 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 7647716A47A for ; Wed, 21 Nov 2007 15:04:01 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id D056913C525 for ; Wed, 21 Nov 2007 15:04:00 +0000 (UTC) (envelope-from "cyb."@gmx.net) Received: (qmail invoked by alias); 21 Nov 2007 14:37:19 -0000 Received: from pD9588151.dip0.t-ipconnect.de (EHLO core2duo.local) [217.88.129.81] by mail.gmx.net (mp003) with SMTP; 21 Nov 2007 15:37:19 +0100 X-Authenticated: #4870692 X-Provags-ID: V01U2FsdGVkX1/XNmYlSgbXMqEEV2458RAWUQtbbDlo39aZKNRpRK QTu7WdzbhmVpI5 Date: Wed, 21 Nov 2007 15:37:13 +0100 From: Andreas Rudisch To: David Taylor Message-Id: <20071121153713.4fd79e33.cyb.@gmx.net> In-Reply-To: <20071108181055.GA20748@outcold.yadt.co.uk> References: <20071107181857.GA35213@outcold.yadt.co.uk> <20071107103941.G46367@turing> <20071108181055.GA20748@outcold.yadt.co.uk> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV" X-Y-GMX-Trusted: 0 Cc: freebsd-java@freebsd.org Subject: Re: FreeBSD 7 and java networking 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, 21 Nov 2007 15:04:01 -0000 --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 8 Nov 2007 18:10:56 +0000 David Taylor wrote: > On Wed, 07 Nov 2007, Nick Johnson wrote: >=20 > > On Wed, 7 Nov 2007, David Taylor wrote: > >=20 > > > I've tried compiling java/jdk15 and java/jdk16 bootstrapping with > > > all three binary jdks (diablo 1.5, linux 1.5, linux 1.6). > > >=20 > > > They all give the same problem: > > >=20 > > > Running jbidwatcher or azureus results in a mass of messages > > > like the following, whenever network IO is attempted: > > >=20 > > > java.net.ConnectException: Invalid argument > >=20 > > Did you try running it with -Djava.net.preferIPv4Stack=3Dtrue ? >=20 > Thank you! >=20 > As it turns out, I'd just noticed the global "WITH_IPV6=3Dyes" > that I'd put in /etc/make.conf, and started recompiling java > without IPv6 support shortly before you sent that message. > I had already tried (both native jdks) with IPV6 turned > off in the "make config" menu -- or so I thought -- but > my choice was overriden by that forgotten entry. >=20 > The IPv6-less jdk works perfectly, now all that remains > is to figure out why IPv6 support has stopped working... >=20 > I'm fairly sure it worked fine before I switched motherboards > and upgraded to 7-CURRENT (now stable, or beta, or whatever). I updated from 6.2-release-p8 to 7.0-beta3 and rebuilt all my ports. Does Azureus work properly for you? For me it does not upload/download anything. I tried jdk15 and jdk16 both with and without IPv6 support. Using -Djava.net.preferIPv4Stack=3Dtrue does not seem to help. With FreeBSD 6.2 I had to add the following to libmap.conf to run Azureus: [/usr/local/jdk1.6.0/]=20 libpthread.so libc_r.so=20 libpthread.so.2 libc_r.so.6 This does not seem to help either. I am using ULE and SMP on an Intel Core2Duo. Andreas --=20 GnuPG key : 0x2A573565 | http://cyb.websimplex.de/pubkey.asc Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHREKd8P3NNypXNWURAv1kAJ4pB3CMMET1edWR1AAo2sf/CwskAwCcClVD vLGC3tNYp6j44TPaVtZGjg8= =F15J -----END PGP SIGNATURE----- --Signature=_Wed__21_Nov_2007_15_37_13_+0100_oyUcFZIFAWStRxaV--