平时会遇到tomcat 启动过慢的情况,这个时候可以再tomcat的 catalina.sh里添加这个参数     -Djava.security.egd=file:/dev/./urandom