Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 02:40:36 -0700 (PDT)
From:      Colby Thomson <colbyt@yahoo.com>
To:        freebsd-java@freebsd.org
Subject:   Native JDK random # seed (Corrected plain-text email hopefully)
Message-ID:  <20040916094036.13482.qmail@web14126.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 4.10 with jdk 1.4.2p6. 

Summary: The native JDK should provide the same stack
trace error as the linux-sun-jdk when it suffers from
a lack of entropy while generating random numbers..
rather than simply locking with no output. 

I had a number of apps that locked solid with no debug
output or stack trace.  I ran these apps using the
linux-sun-jdk and recieved 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 and seeded /dev/random with 'rndcontrol -s
10' . Now the native JDK gets past the lock-up.  


P.S. My solution to this is to set rndcontrol in a
startup script -- let me know if there is a better
suggestion.

Thanks, 

- C. Colby Thomson 
J.D. Edwards Design Studio 
cthomson@unlnotes.unl.edu 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040916094036.13482.qmail>