Subject: Re: increase datasize resource limit
To: Jeroen Ruigrok/asmodai <asmodai@in-nomine.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 08/11/2005 12:14:39
On Thu, Aug 11, 2005 at 06:29:48AM +0200, Jeroen Ruigrok/asmodai wrote:
> -On [20050810 17:59], Geert Hendrickx (geert.hendrickx@ua.ac.be) wrote:
> >I had the same thing, and the error in the Java Console said to set sysctl
> >net.inet6.ip6.v6only=0.  That worked for me.  
> 
> Eh?
> 
> That should not be a solution.  That's only about IPv4 endpoints being
> addressable through IPv6 addresses (::127.0.0.1, the 0 setting means you
> reenabled them, this is RFC compliant, but security-wise an issue).
> 
> Why do I get the feeling a lot of OSS projects have little clue how to
> properly write applications that use IPv4/IPv6.

I must confess I don't know much about these things, so I'm open to
suggestions like yours.  

> Does this also work for you:
> 
> JAVA_OPTS=-Djava.net.preferIPv4Stack="true"

Is that an environment variable to be set?  Then no, that doesn't work for
me.  

GH