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

前端之家收集整理的这篇文章主要介绍了解决Centos环境下tomcat启动缓慢的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  1. 解决办法:
  1. 编辑$JAVA_HOME/jre/lib/security/java.security 文件
  1. 找到 securerandom.source=file:/dev/random 这一行内容
  1. 改为:securerandom.source=file:/dev/urandom (亲测,问题解决。)
  1. 或者将 securerandom.source=file:/dev/urandom
  2. 修改 securerandom.source=file:/dev/./urandom
  1. 参考文章
  1. http://www.roncoo.com/article/detail/125962

猜你在找的CentOS相关文章