您的位置 首页 CentOS

解决Centos环境下tomcat启动缓慢的问题

解决办法:
编辑$JAVA_HOME/jre/lib/security/java.security 文件,
找到  securerandom.source=file:/dev/random 这一行内容
改为:securerandom.source=file:/dev/urandom (亲测,问题解决。)
或者将 securerandom.source=file:/dev/urandom
修改为 securerandom.source=file:/dev/./urandom

参考文章:
http://www.roncoo.com/article/detail/125962

关于作者: dawei

【声明】:金华站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

热门文章