From owner-freebsd-java@FreeBSD.ORG Tue Jun 15 06:44:00 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1468616A4CE for ; Tue, 15 Jun 2004 06:44:00 +0000 (GMT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2930F43D5E for ; Tue, 15 Jun 2004 06:43:59 +0000 (GMT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i5F6h6GC076872; Tue, 15 Jun 2004 09:43:06 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from [147.102.220.45] (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i5F6guTC078912; Tue, 15 Jun 2004 09:43:06 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <40CE9A70.3050007@noc.ntua.gr> Date: Tue, 15 Jun 2004 09:42:56 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla Thunderbird 0.6 (X11/20040609) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Henry References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Jboss startup Error- Can anyone help? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 06:44:00 -0000 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