From owner-freebsd-java@FreeBSD.ORG Thu Sep 16 09:25:40 2004 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 0D32116A4CE for ; Thu, 16 Sep 2004 09:25:40 +0000 (GMT) Received: from unlnotes.unl.edu (unlnotes.unl.edu [129.93.1.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC08843D4C for ; Thu, 16 Sep 2004 09:25:39 +0000 (GMT) (envelope-from cthomson@unlnotes.unl.edu) Received: from unlnotes02.unl.edu ([129.93.1.3]) by unlnotes.unl.edu (Lotus Domino 651HF53) with ESMTP id 2004091604280067-2063850 ; Thu, 16 Sep 2004 04:28:00 -0500 Importance: Normal X-Priority: 3 (Normal) From: Cameron C Thomson To: freebsd-java@freebsd.org Date: Thu, 16 Sep 2004 04:26:41 -0500 Message-ID: X-MIMETrack: Serialize by Notes Server on UNLNOTES02.UNL.EDU/Servers/UNEBR(651HF53 | February 26, 2004) at 09/16/2004 04:26:41 AM, Serialize complete at 09/16/2004 04:26:41 AM,February 26, 2004) at 09/16/2004 04:26:41 AM,February 26, 2004) at 09/16/2004 04:26:42 AM, Serialize complete at 09/16/2004 04:26:42 AM,February 26, 2004) at 09/16/2004 04:28:00 AM,February 26, 2004) at 09/16/2004 04:28:02 AM, Serialize complete at 09/16/2004 04:28:02 AM Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Native JDK random # seed 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, 16 Sep 2004 09:25:40 -0000 I'm running FreeBSD 4.10 with jdk 1.4.2p6. Summary: The na= tive JDK should provide the same stack trace error as the linux-sun-jdk whe= n it suffers from a lack of entropy, rather than simply locking with n= o output. I had a number of apps that locked solid with no debug out= put or stack trace. I ran these apps using the linux-sun-jdk and reci= eved an error relating to seeding random numbers (I can recreate and paste = the stack trace if needed). I then switched back to the native jdk an= d seeded /dev/random with 'rndcontrol -s 10' . Now the native JDK gets past= the lockup. P.S. My solution to this is to set rndcontro= l in a startup script -- let me know if I'm missing something.. Tha= nks, - C. Colby Thomson J.D. Edwards Design Studio [1]cthomson@unlnotes.unl.edu= = References 1. file://localhost/tmp/3D"=