From owner-freebsd-java@FreeBSD.ORG Sun Feb 24 12:38:03 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 C96AC16A404 for ; Sun, 24 Feb 2008 12:38:03 +0000 (UTC) (envelope-from diizzyy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 5C16F13C469 for ; Sun, 24 Feb 2008 12:38:03 +0000 (UTC) (envelope-from diizzyy@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so439423uge.37 for ; Sun, 24 Feb 2008 04:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=ElQ3UzDM3FBfrQa83JelqacZDWT9gO86/fzeIVIUVbo=; b=IOZMf3ui+LEL0YR/uJruGHqrRR3gU271mmIvI6d/b0bBoUEqXXvE41zQJ1JSaH98TjEGljwp0zvRV+hjrQNpqpdlpol8iTtoM67uPuJEuH3xpMIab3SZAPKIAlYvvrSiBkCIXg639Pnstj7TcFvbAhdoXQmawcXGqtgPzR8R02M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=BqiMD46p7EGmr4hBkJe9E7Nbdj1gqDD08t17wWXgq6WO8k1DDKbBvklJw2koGNwA3KAuU/AiwUN/kGdOs6o4zJrAz1u3MRzzehV32+J9hw0XfP4LAClwzlC+k/qoX06pj/2D/CjahNYWnfZwmqOhsDfUuul8Cq32byHlX3cJOdg= Received: by 10.67.116.7 with SMTP id t7mr1712897ugm.38.1203856682124; Sun, 24 Feb 2008 04:38:02 -0800 (PST) Received: from ?192.168.1.10? ( [213.226.81.70]) by mx.google.com with ESMTPS id q1sm3119665uge.7.2008.02.24.04.38.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Feb 2008 04:38:01 -0800 (PST) Message-ID: <47C1655E.1020301@gmail.com> Date: Sun, 24 Feb 2008 13:38:54 +0100 From: Daniel Engberg User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 12:38:03 -0000 Hi, I've tried both suggestions given (recompile kernel without IPv6 support) and adding -Djava.net.preferIPv4Stack=true without any difference. Azureus still connects to peers/seeds without any issues but doesnt download any pieces. Taking a stock kernel and adding IPv6 support to Java 1.6 gives this error message. StartServer ERROR: unable to bind to 127.0.0.1:6880 for passed torrent info StartSocket: passing startup args to already-running process. java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.(Socket.java:366) at java.net.Socket.(Socket.java:180) at org.gudy.azureus2.ui.common.Main$StartSocket.(Main.java:370) at org.gudy.azureus2.ui.common.Main.main(Main.java:155) The only way to get it going is to add -Djava.net.preferIPv4Stack=true but it still refuses to download pieces. Unfortunately I dont have knowledge to debug the JVM but I have a feelking that more applications might be affected. //Daniel