From owner-freebsd-java@FreeBSD.ORG Thu Nov 20 11:36:27 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 B7E1716A4CE for ; Thu, 20 Nov 2003 11:36:27 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 085CE43F85 for ; Thu, 20 Nov 2003 11:36:27 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 2BDC513651; Fri, 21 Nov 2003 08:36:26 +1300 (NZDT) Date: Fri, 21 Nov 2003 08:36:26 +1300 From: Jonathan Chen To: David Israelsson Message-ID: <20031120193626.GE1813@grimoire.chen.org.nz> 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.4.1i 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 19:36:27 -0000 On Thu, Nov 20, 2003 at 10:19:21AM +0100, David Israelsson wrote: > Has anyone had any success with RMI on FreeBSD? I can't get the most > simple test program to work. > > 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. JBoss3 (which uses RMI) seems to be working fine here. Are you using any form on encryption? Perhaps you're running out of random-bits from /dev/random.. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Beer. Now there's a temporary solution." - Homer Simpson