22-Feb-2020 12:29:59.169 WARNING [localhost-startStop-1]org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [97,564] milliseconds.
解决方案:添加tomcat启动参数
-Djava.security.egd=file:/dev/./urandom
原因:启动tomcat时jre会用到系统默认的随机数发生器,而它/dev/random 是一个阻塞数字生成器