Linux环境下Tomcat启动卡住问题

最近在服务器上启动tomcat,经常出现卡住的情况,通过搜索发现是随机数生成问题.

解决方案如下:

    将$JAVA_HOME/jre/lib/security/Java.security内,将securerandom.source的内容改为file:/dev/./urandom,即可

  

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

原文地址:https://www.cnblogs.com/huangheng01/p/8819406.html