Tomcat8 启动慢 Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [53,161] milliseconds

 修改$JAVA_PATH/jre/lib/security/java.security文件

securerandom.source=file:/dev/random

修改为

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

 

posted @ 2019-01-07 16:03  缤纷世界  阅读(1814)  评论(0编辑  收藏  举报