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:

Ubuntu:

sudo apt-get install haveged

Cent OS

yum install haveged

Now, enjoy the faster start up time!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s