linux boot card when Tomcat tomcat long or very slow start: Solution "INFO Deploying web application directory ......" of

solution:

Find jdk1.x.x_xx / jre / lib / security / java.security file, find securerandom.source the settings in the file, change it to:

securerandom.source=file:/dev/./urandom

 

 

At this time reflect the changes can be found for this reason can not only cause tomcat stuck, can also cause weblogic start slowly,

This article is the following sentence to the effect

unix or linux part of the system is to provide the device nonce / dev / random and / dev / urandom,

Two distinct, urandom security is not high random, but random time interval required to generate a random number. jdk default call random.

Then it is a simple matter to find the corresponding configuration file to modify just fine

Guess you like

Origin www.cnblogs.com/weibanggang/p/11563163.html
Recommended