Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 16:11:53 +0200
From:      "Andrey Slusar" <anray@FreeBSD.org>
To:        "Daniel Engberg" <diizzyy@gmail.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Java JDK 1.6p4 and Azureus
Message-ID:  <47e01da70802240611s71d8a744p8dc622addf308eed@mail.gmail.com>
In-Reply-To: <47C1655E.1020301@gmail.com>
References:  <47C1655E.1020301@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/2/24, Daniel Engberg <diizzyy@gmail.com>:
>  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.<init>(Socket.java:366)
>         at java.net.Socket.<init>(Socket.java:180)
>         at
>  org.gudy.azureus2.ui.common.Main$StartSocket.<init>(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.
>

 On my RELENG_7 I386 this problem is reproduce too. In kernel ipv6 is
not found, when i'm run azureus with -Djava.net.preferIPv4Stack=true,
azureus is not download/upload - 0% for all torrents.

-- 
Regards,
Andrey.



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