Tomcat on SWITCHengines

Tomcat on SWITCHengines

When using Tomcat on SWITCHengines, starting it can take quite some time. Tomcat internally uses the "SecureRandom" random generator.
2 approaches to mitigate that problem:

  • Package haveged. With the installation of the ubuntu package "haveged" the problem is definitely solved. 
  • Urandom. With the option
    "-Djava.security.egd=file:/dev/./urandom" 
    the starting behaviour is improved. It's still slow, but Tomcat starts reliably.

 

Last modification 18. April 2017