tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: TC7 very slow SessionIdGenerator SecureRandom initialization
Date Fri, 27 Jan 2012 23:38:35 GMT
On 27/01/2012 23:25, Caldarale, Charles R wrote:
>> From: David Rees [mailto:drees76@gmail.com] 
>> Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization
> 
>> Hmm, yes, the systems I've checked running Java 1.7.0_02 list
>> /dev/urandom as the securerandom.source.
> 
> Unfortunately, there's a misguided part of the JRE that insists it's smarter than any
sysadmin, so it checks for /dev/urandom and uses /dev/random instead - that's why the setting
of /dev/./urandom is important, even though it would seem to be equivalent.

So editing the file fixes this, or just using the system property?


p

>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and
is thus for use only by the intended recipient. If you received this in error, please contact
the sender and delete the e-mail and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


-- 

[key:62590808]


Mime
View raw message