通过查询得知,这是 Oracle 的一个 Bug。需要在你的 java JRE 的 lib/security 下编辑 Java.security
把
securerandom.source=file:/dev/urandom改成
securerandom.source=file:/dev/./urandom
在dev与/uramdom之间增加 "/."
如图:
参考文章:
1. https://stackoverflow.com/questions/26431922/tomcat7-starts-too-late-on-ubuntu-14-04-x64-digitalocean
2. csdn 也有朋友记录这个问题: http://blog.csdn.net/ginkov/article/details/52677469