Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 08:09:14 -0800
From:      Norbert Papke <fbsd-ml@scrapper.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: Limewire 4.18 problem
Message-ID:  <200812160809.14561.fbsd-ml@scrapper.ca>
In-Reply-To: <20081216125830.384a9b6f.cyb.@gmx.net>
References:  <958977.77379.qm@web24105.mail.ird.yahoo.com> <20081216125830.384a9b6f.cyb.@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On December 16, 2008, Andreas Rudisch wrote:
> A Vuze developer told me, that transfers via UDP and TCP are using
> different sets of native java APIs. TCP is non-blocking IO, so there
> could be a problem in the FreeBSD Java code.

This is a stab in the dark (I am not a Vuze) user but I have had similar 
problems with other Java apps (e.g., Netbeans, Tomcat).  The VM's TCP stack, 
for some reason, wants to use IPv6.  To force it to use IPv4, invoke Java 
with "-Djava.net.preferIPv4Stack=true".  You can do this either on the 
command line or by setting the JAVA_OPTS environment variable.

Cheers,

-- Norbert Papke.

Grand Master Turing once dreamed that he was a machine. When he awoke he 
exclaimed:
"I don't know whether I am Turing dreaming that I am a machine, 
or a machine dreaming that I am Turing!"  (The Tao Of Programming)



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