org. apache. catalina. util. SessionIdGeneratorBase. createSecureRandom 报错

日志报错:
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [131,830] milliseconds。

解决:
打开$JAVA_HOME/jre/lib/security/java.security这个文件,找到下面的内容:
securerandom.source=file:/dev/urandom
替换成
securerandom.source=file:/dev/./urandom

股票开户就选东方财富证券,佣金低,送豪礼!