[daisy] Re: Installation hangs

Bruno Dumon bruno at outerthought.org
Tue Jun 5 07:04:22 CDT 2007


Luca,

Thanks for sharing this problem and its solution. I've modified the code
so that less instances of SecureRandom are created, previously a new
instance was created each time a password was generated.

I've never had this problem myself, but I assume these changes will fix
it, since at the point where you got the error already a few of these
SecureRandoms were successfully instantiated.

On Mon, 2007-06-04 at 21:31 +0200, Luca Morandini wrote:
> Luca Morandini wrote:
> > Folks,
> > 
> > I've installed Daisy a few times on different machines, but this error 
> > perplexes me:
> 
> I've solved it.
> It happens the random number generator was waiting for a certain amount 
> of entropy to be accumulated in a system (hard luck with the server I 
> was working on), so, I had to add the following parameter to the 
> daisy-repository-init script: -Djava.security.egd=file:/dev/./urandom
> 
> Here's the bug info from Sun:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721
> 
> Regards,
> 
> --------------------
>     Luca Morandini
> www.lucamorandini.it
> --------------------

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list