From owner-freebsd-java@FreeBSD.ORG Sun Feb 24 02:22:54 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 6319116A404 for ; Sun, 24 Feb 2008 02:22:54 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: from dsl254-019-221.sea1.dsl.speakeasy.net (dsl254-019-221.sea1.dsl.speakeasy.net [216.254.19.221]) by mx1.freebsd.org (Postfix) with ESMTP id 50F8B13C45B for ; Sun, 24 Feb 2008 02:22:54 +0000 (UTC) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 89040 invoked from network); 24 Feb 2008 02:22:31 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with ESMTP; 24 Feb 2008 02:22:31 -0000 Message-ID: <47C0D4E6.7090604@zircon.seattle.wa.us> Date: Sat, 23 Feb 2008 18:22:30 -0800 From: Joe Kelsey User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 References: <825702.30804.qm@web38205.mail.mud.yahoo.com> <47C0C294.60301@zircon.seattle.wa.us> In-Reply-To: <47C0C294.60301@zircon.seattle.wa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org, Tommy Pham Subject: Re: Java JDK 1.6p4 and Azureus 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: Sun, 24 Feb 2008 02:22:54 -0000 Joe Kelsey wrote: > --- Daniel Engberg wrote: >> >>> Hi, >>> >>> I browsed earlier archives and found someone who had similar issues. >>> What happens is that Azureus starts fine, adds torrents without any >>> errors, connects to a few peers/seeders and then idles. It doesnt >>> fetch any pieces or gives any errors. >>> I've tried the diablo packages/ports (1.5 and 1.6) without any >>> success, and the older patchset 3 with the same result. Does anyone >>> know a workaround? In case anyone is wondering I'm running the >>> CLI/WebUI interface(s). >>> > Azureus experiences the typical Java problem. I could not get > anything to happen for quite some time until I realized that the Java > runtime was spending all of its time waiting for something to happen > in the IPv6 connections it was trying to open. I had to completely > remove IPv6 from the kernel. Once I did that, Azureus magically > started working. > > There is something major broken in the Java runtime hwich causes > everything to stop whenever you try to open an IPv6 connection. > Remove IPV6 from the kernel, and everything works. When and if you > ever get real IPv6 connections in your machine, things might actualy > work. For now, just remove it and move on. Two different people have responded personally to me alone about different ways to get Java to try v4 connections instead of v6 connections. This is completely irrelevant. There is still something broken in the Java runtime which spends all of its time in v6 connection hell unless you disable v6 in the kernel. Someone needs to figure out why the Java runtime on FreeBSD does this. I suspect some thing in the runtime or in the kernel v6 stuff that is broken, but I do not know where to look. /Joe