From owner-freebsd-java@FreeBSD.ORG Thu Nov 20 01:52:35 2003 Return-Path: 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 D8B8516A4CE for ; Thu, 20 Nov 2003 01:52:35 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB79A43F75 for ; Thu, 20 Nov 2003 01:52:34 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.24; FreeBSD) id 1AMlU8-000GUZ-VC; Thu, 20 Nov 2003 11:52:24 +0200 Date: Thu, 20 Nov 2003 11:52:24 +0200 From: Sheldon Hearn To: David Israelsson Message-ID: <20031120095224.GR11487@starjuice.net> Mail-Followup-To: David Israelsson , freebsd-java@freebsd.org References: <87fzgjbdnq.fsf@poh.gnapp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fzgjbdnq.fsf@poh.gnapp.org> User-Agent: Mutt/1.5.4i cc: freebsd-java@freebsd.org Subject: Re: RMI on FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2003 09:52:36 -0000 On (2003/11/20 10:19), David Israelsson wrote: > Has anyone had any success with RMI on FreeBSD? I can't get the most > simple test program to work. RMI has to be working for some cases at least, because it's used heavily by JBoss, which works on both -CURRENT and -STABLE (for some definition of works). > The problem is registering to the naming service. > java.rmi.Naming.rebind() takes 75 seconds (socket timeout?), and after > another 45 seconds the program exits. No exceptions are thrown. Sounds like a "network problem", which I realize doesn't help you very much. If you can find out what TCP port on what host it's trying to communicate with, you have a chance. The first thing I always do in these situations is rule out IPv6. If you don't use it, turn it off to rule it out. Ciao, Sheldon.