Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 09:42:56 +0300
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        Henry <henry@ci2networks.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Jboss startup Error- Can anyone help?
Message-ID:  <40CE9A70.3050007@noc.ntua.gr>
In-Reply-To: <E1Ba3zx-0002zk-Hr@alpha.dnsvelocity.net>
References:  <E1Ba3zx-0002zk-Hr@alpha.dnsvelocity.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Henry wrote:
> Hi,
> 
> Has anyone run into this problem?
> 
> Ive installed Jboss 3.2.3 on FreeBSD 5.2.1.
> 
> When I start jboss, I get the following error over and over again in the
> output, and more down the page but I think that the "IPv4 mapped usage
> is turned off" is where all goes wrong...
> 
> java.net.SocketException: IPv4 mapped addresses usage is turned off.  Set
> net.inet6.ip6.v6only=0 or use '-Djava.net.preferIPv4Stack=true' to
> disable java IPv6 support, ObjectName: jboss:service=Naming
>  state: FAILED
> 
> Is it because the IPv4 mapped address usage is turned off?
> and how do I turn this on?

It should be quite obvious from the message:
Set net.inet6.ip6.v6only=0 or use '-Djava.net.preferIPv4Stack=true'

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



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