So you have been working on Ubuntu or Cent OS and installed the Tomcat server just to host some application, but the server just doesn’t seems to startup or freezing. However there is no ERROR message found in the log and you have been wondering what is going on. But sooner after sometime, maybe few minutes up to 10 minutes, the server finally started up. You checked on the log file catalina.out and found out the following line:
INFO: Server startup in 58506 ms
You can speed up the start up of the tomcat server by installing haveged package in both Ubuntu and Cent OS using the following command:
sudo apt-get install haveged
yum install haveged
Now, enjoy the faster start up time!