centos7下tomcat7 或tomcat8启动超慢原因

1,找到你的jdk安装的位置

  1. ${JAVA_HOME}/jre/lib/security/java.security  

2,vi 打开后找到

  1. securerandom.source=file:/dev/urandom  

修改

  1. securerandom.source=file:/dev/./urandom  

3,重新启动tomcat就好了

猜你喜欢

转载自www.cnblogs.com/micenote/p/8961149.html