今天在部署云主机时,发现tomcat启动时间过长,于是google 发现已经有了解决,办法,搬过来,防止忘记了,原文地址
Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [32,176] milliseco
# vim /usr/local/tomcat/bin/catalina.sh
---------------------------------------------------
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom"
---------------------------------------------------