加入收藏 | 设为首页 | 会员中心 | 我要投稿 台州站长网 (https://www.0576zz.cn/)- 边缘计算、中间件、数据处理、数据分析、智能存储!
当前位置: 首页 > 综合聚焦 > CentOS > 正文

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

发布时间:2020-09-01 05:49:32 所属栏目:CentOS 来源:互联网
导读:解决办法: 编辑$JAVA_HOME/jre/lib/security/java.security 文件, 找到 securerandom.source=file:/dev/random 这一行内容 改为:securerandom.source=file:/dev/urandom (亲测,问题解决。) 或者将 securerandom.source=file:/dev/urandom修改为

解决办法:
编辑$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

(编辑:台州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读