Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 17:48:54 +0100
From:      "Pietro Cerutti" <pietro.cerutti@gmail.com>
To:        "Huynh Van Chung" <chung@chunglien.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Problem in tomcat 5.5 and 6.0
Message-ID:  <e572718c0703160948g10e882fey943f8ed9f5192e1d@mail.gmail.com>
In-Reply-To: <5c6d04049644e6f98fab553194a275d6@www.chunglien.org>
References:  <5c6d04049644e6f98fab553194a275d6@www.chunglien.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 3/16/07, Huynh Van Chung <chung@chunglien.org> wrote:
> Hi all.
>
> I have a server with FreeBSD 6.1 and i try to install tomcat. But the tomcat
> daemon can't run. And the error is
>
> 2007/03/17 0:47:27 org.apache.catalina.core.StandardServer await
> 致命的: StandardServer.await: create[8005]:
> java.net.BindException: Can't assign requested address

You probably built your JDK without IPv6 support.
Add this line to your /etc/rc.conf file
jakarta_tomcat55_java_opts="-Djava.net.preferIPv4Stack=true"

> Please help me. Thank a lot

Hope this helps,

-- 
Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


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