tomcat启动时间5分钟左右org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [342,445] milliseconds.

org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [342,445] milliseconds.

tomcat启动时间5分钟左右

打开 

/java/jdk/jre/lib/security/java.security文件


securerandom.source=file:/dev/urandom


替换成


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

猜你喜欢

转载自www.cnblogs.com/AmbitiousMice/p/9263241.html