From owner-freebsd-java@FreeBSD.ORG Sun May 28 13:56:40 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 262FC16ACF5 for ; Sun, 28 May 2006 13:56:40 +0000 (UTC) (envelope-from artem@bizlink.ru) Received: from webcrm.ru (webcrm.ru [83.222.4.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8AF343D53 for ; Sun, 28 May 2006 13:56:39 +0000 (GMT) (envelope-from artem@bizlink.ru) Received: from [10.8.0.2] (unknown [10.8.0.2]) by dopler.bizlink.ru (Postfix) with ESMTP id 614EF44AA6E; Thu, 25 May 2006 11:43:27 +0400 (MSD) Message-ID: <4475601A.6050108@bizlink.ru> Date: Thu, 25 May 2006 11:43:22 +0400 From: Artem Gr User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Richard Cooper , freebsd-java@freebsd.org References: <200605231302.03491.work@ashleymoran.me.uk> <200605231322.46786.work@ashleymoran.me.uk> <200605231607.45933.work@ashleymoran.me.uk> <44733A87.8020700@jonnycalcutta.com> In-Reply-To: <44733A87.8020700@jonnycalcutta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: IPV6 (Re: Connecting to Jetty) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 13:56:44 -0000 > Can I ask what variable and exactly how you passed it? I'm having a > similar problem with Tomcat and I can't seem to pass the right command > to get around the problem. I can quote what Ashley wrote to me in private mail: > I found the problem at last! It turns out I had compiled with IPV6 support, > so I had to add > export JAVA_OPTIONS="-Djava.net.preferIPv4Stack=true" > to the script I wrote that calls /usr/local/sbin/jetty > > Now it works.