Tomcat 7 hangs/freezes while starting in Ubuntu 14.04

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

I tried to run tomcat 7 in a new Ubuntu 14.04 server. It hangs every time when
INFO: Deploying configuration descriptor ......
No other error logs were produced. After searching on the web, I finally found a solution:

Add the following line into the beginning of the file: “tomcatFolder/bin/catalina.sh”
export CATALINA_OPTS="-Djava.security.egd=file:/dev/./urandom"

Then, restart tomcat, it will boot as normal!

Leave a Reply

Your email address will not be published. Required fields are marked *