tomcat8

1 articles

tomcat8启动慢

前几天新弄了个服务器,jdk8,tomcat8。启动tomcat时发现非常慢,而本地启动时会打印{dataSource-1}inited这行日志,但正式线迟迟不出这行日志,以为是链接数据库慢,查了半天也没解决。后来又仔细分析日志,发现有个WARNINGWARNING[localhost-startStop-1]org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandomCreationofSecureRandominstanceforsessionIDgenerationusing[SHA1PRNG]took[150,82... >>