From owner-freebsd-java@FreeBSD.ORG Tue May 30 16:21:51 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 1954C16A56B for ; Tue, 30 May 2006 16:21:51 +0000 (UTC) (envelope-from champlin@stupidog.org) Received: from whisper.stupidog.org (adsl-63-193-245-15.dsl.snfc21.pacbell.net [63.193.245.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 969A243D46 for ; Tue, 30 May 2006 16:21:50 +0000 (GMT) (envelope-from champlin@stupidog.org) Received: from [10.0.1.36] (eeyore.stupidog.org [10.0.1.36]) by whisper.stupidog.org (Postfix) with ESMTP id 435202265; Tue, 30 May 2006 09:21:50 -0700 (PDT) Message-ID: <447C711D.6070300@stupidog.org> Date: Tue, 30 May 2006 09:21:49 -0700 From: Virgil Champlin Organization: Casa del Perro =?ISO-8859-1?Q?Est=FApido?= User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: Richard Cooper References: <447C0DE0.3040104@jonnycalcutta.com> <447C327E.8030607@stupidog.org> <447C4142.8080903@jonnycalcutta.com> In-Reply-To: <447C4142.8080903@jonnycalcutta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Still having the same Tomcat problem 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: Tue, 30 May 2006 16:21:55 -0000 Richard Cooper wrote: > Virgil Champlin wrote: >> What does >> >> sockstat | grep 8005 >> >> say? I haven't seen your previous posts so forgive me if you've >> answered this. -virgil > > It returns nothing. > ... Yes, your error would indicate that. I think a port collision gives an "address already in use" error. Here is the code that is failing. // Set up a server socket to wait on ServerSocket serverSocket = null; try { serverSocket = new ServerSocket(port, 1, InetAddress.getByName("127.0.0.1")); } catch (IOException e) { log.error("StandardServer.await: create[" + port + "]: ", e); System.exit(1); } I wonder what InetAddress.getByName("127.0.0.1"); returns in your case? I have the same Tomcat running on a 6.1-RELEASE i386, no problem. I'll try it on an SMP amd64 in a few hours. -virgil > I hope you don't mind me ccing this to the list - it might be useful. > Not at all. It just isn't very helpful yet. Sorry. -virgil