From owner-freebsd-stable@FreeBSD.ORG Sat Mar 17 05:12:52 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E70516A401 for ; Sat, 17 Mar 2007 05:12:52 +0000 (UTC) (envelope-from chung@chunglien.org) Received: from mail.chunglien.org (softbank219012102040.bbtec.net [219.12.102.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB1313C469 for ; Sat, 17 Mar 2007 05:12:52 +0000 (UTC) (envelope-from chung@chunglien.org) Received: from mail.chunglien.org (localhost [127.0.0.1]) by mail.chunglien.org (Postfix) with ESMTP id 33AA611465; Sat, 17 Mar 2007 14:12:51 +0900 (JST) Received: from www.chunglien.org (localhost [127.0.0.1]) by mail.chunglien.org (Postfix) with ESMTP id EA1FD11432; Sat, 17 Mar 2007 14:12:50 +0900 (JST) Received: from phpmailer ([192.168.0.200]) by www.chunglien.org with HTTP (PHPMailer); Sat, 17 Mar 2007 14:12:50 +0900 Date: Sat, 17 Mar 2007 14:12:50 +0900 To: Pietro Cerutti From: Huynh Van Chung Message-ID: X-Priority: 3 X-Mailer: PHPMailer [version 1.71] X-Mailer: FeLaMiMail version 0.9.5 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-stable@freebsd.org Subject: Re: Problem in tomcat 5.5 and 6.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 05:12:52 -0000 Hi Pietro Cerutti Thank you a lot. Tomcat 6.0 can run with this option: tomcat60_java_opts=3D"-Djava.net.preferIPv4Stack=3Dtrue" Huynh Van Chung Pietro Cerutti wrote*:=20 > On 3/16/07, Huynh Van Chung 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 >> =E8=87=B4=E5=91=BD=E7=9A=84: 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=3D"-Djava.net.preferIPv4Stack=3Dtrue" > >> Please help me. Thank a lot > >Hope this helps, > >--=20 >Pietro Cerutti > >- ASCII Ribbon Campaign - > against HTML e-mail and > proprietary attachments > www.asciiribbon.org > >