On Fri, Jan 27, 2012 at 3:42 PM, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote: >> From: Pid [mailto:p...@pidster.com] >> > that's why the setting of /dev/./urandom is important, even >> > though it would seem to be equivalent. > >> So editing the file fixes this, or just using the system property? > > Good question; I suspect either would work, but I've only ever used the > system property. > > However, we still don't know definitively that lack of entropy is the cause > of the problem here.
I can confirm that adding the system property -Djava.security.egd=file:/dev/./urandom eliminates the delay. Watching /proc/sys/kernel/random/entropy_avail while Tomcat is starting up shows that it drops from ~140-150 down to single digits until Tomcat initializes. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org