haxwell / quizki

A question and answer database that generates exams.
http://www.quizki.com
GNU General Public License v2.0
4 stars 14 forks source link

Long Tomcat Startup Delay #226

Open jdisser opened 6 years ago

jdisser commented 6 years ago

Tomcat is taking between 30 and 74 seconds to startup in normal and debug mode respectively. A review of the log file catalina.out indicates it's possibly scanning JARs that are unnecessary, failing to find required JARs, and possibly encountering delays generating random session keys. See this post https://wiki.apache.org/tomcat/HowTo/FasterStartUp a setting for a non blocking key generator needs to be implemented... -Djava.security.egd=file:/dev/./urandom and the issues with logger files that are not being compiled due to dependency conflicts resolved.