Problem in tomcat 5.5 and 6.0

Pietro Cerutti pietro.cerutti at gmail.com
Fri Mar 16 16:48:55 UTC 2007


On 3/16/07, Huynh Van Chung <chung at 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


More information about the freebsd-stable mailing list