码迷,mamicode.com
首页 > 其他好文 > 详细

Tomcat 启动花费很长时间的解决方案

时间:2014-12-15 11:53:32      阅读:365      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   color   os   sp   for   

原始解决方案链接

$JAVA_PATH/jre/lib/security/java.security

中的

securerandom.source=file:/dev/urandom

替换为

securerandom.source=file:/dev/./urandom

根本原因

In this implementation, the generator keeps an estimate of the number of bits of noise in the entropy pool. From this entropy pool random numbers are created. When read, the /dev/random device will only return random bytes within the estimated number of bits of noise in the entropy pool. /dev/random should be suitable for uses that need very high quality randomness such as one-time pad or key generation.

When the entropy pool is empty, reads from /dev/random will block until additional environmental noise is gathered. The intent is to serve as a cryptographically secure pseudorandom number generator, delivering output with entropy as large as possible. This is suggested for use in generating cryptographic keys for high-value or long-term protection. http://en.wikipedia.org/wiki//dev/random#Linux

Tomcat 启动花费很长时间的解决方案

标签:style   blog   http   io   ar   color   os   sp   for   

原文地址:http://www.cnblogs.com/WebClerk/p/4164384.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!