Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 13:38:54 +0100
From:      Daniel Engberg <diizzyy@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Java JDK 1.6p4 and Azureus
Message-ID:  <47C1655E.1020301@gmail.com>

next in thread | raw e-mail | index | archive | help
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.<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.

//Daniel



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