-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim,
Tim Full wrote: > Most implementations work fine with using /dev/urandom as a seed for the > sessionid generator for Tomcat (class ManagerBase), but I have 2 instances > that seem to cause Tomcat to hang on open of /dev/urandom. Yeah, if you are using Linux, the /dev/urandom device sometimes stalls. the best way to re-fill the buffers is to pound on the keyboard at the console (which is usually inaccessible). :( Anyhow, this isn't a Tomcat thing... it's a JRE thing. Google really is your friend, here (http://www.google.com/search?q=securerandom+change+random+source). You can change the device that SecureRandom uses for gathering entropy by modifying the "securerandom.source" property of your JAVA_HOME/jre/lib/security/java.security file. The comments in that file also suggest that you can use the system property java.security.egd=[url] to override that property if you feel like modifying your installation is a bad idea (which it probably is). Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFYbM19CaO5/Lv0PARAnwJAJ4vBZq/HDXrE9pfc3u0ES6HfoKpIACeKXhw kA/tOt5oDDQ7Jqmfo83QDlw= =3UPU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]