After the first restart Springboot slow access speed

After each restart Springboot write management platform, for the first time to access the login pages are slow death, to wait almost half a minute to go.
Baidu know after the session is tomcat generation strategy caused.

Finally, I was solved by the following method to find jre installation directory, such as jre / lib / security, then modify the value securerandom.source field java.security file "file: /dev./urandom":

securerandom.source=file:/dev./urandom

Finally, restart Springboot project, feel seconds into the joy of it ~

Reproduced in: https: //www.jianshu.com/p/5fe0e6fde941

Guess you like

Origin blog.csdn.net/weixin_34364071/article/details/91170425