MailArchiva relies on secure random to perform license checks, etc. Server startup times may be slow due to lack of available entropy on the machine.
If the output of the above command is below ten, insufficient entropy could be the reason why your server is slow to start. A possible solution is to install Haveged to increase the amount of entropy available.
To install Haveged on RHEL/Fedora/CentOS machines:
chkconfig haveged on
To install Haveged on CentOS 8:
yum install epel-release-latest-8.noarch.rpm -y
yum install haveged -y
Incorrect network configuration may slow startup. Specifically, the Java call:
Will be slow to perform if localhost is not setup correctly on /etc/hosts
Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.