Reasons for the slow startup of tomcat7 or tomcat8 under centos7

1. Find the location of your jdk installation

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

 

2. After vi is opened, find

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

 

Revise

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

3. Just restart tomcat

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324932984&siteId=291194637