Problem in tomcat 5.5 and 6.0

Huynh Van Chung chung at chunglien.org
Sat Mar 17 05:12:52 UTC 2007


Hi Pietro Cerutti

Thank you a lot. Tomcat 6.0 can run with this option:
tomcat60_java_opts="-Djava.net.preferIPv4Stack=true"

Huynh Van Chung

Pietro Cerutti <pietro.cerutti at gmail.com> wrote*: 
>

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