您的位置:首页 > 运维架构 > Tomcat

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

2017-01-07 21:57 316 查看
解决办法:

编辑 $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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: