Hello,
I’m using open jdk as a stage package for my tomcat snap. The webapp UI takes lots of time to start the server. This delay is due to secure random no generation .
How can I reduce the secure random no generation delay from the snapcraft.yaml file directly, so that I don’t need to do it manually.
Open the $JAVA_HOME/jre/lib/security/java.security file in a text editor.
Change the line:
securerandom.source=file:/dev/random
to read:
securerandom.source=file:/dev/urandom
How can I change this line from the snapcraft.yaml file.