tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Armbruster <ml...@armbruster-it.de>
Subject Re: Tomcat 6.0.10 hangs on startup when APR enabled
Date Mon, 02 Apr 2007 19:09:53 GMT
Hi,

the machine is diskless, so entropy for /dev/random might not be enough.
"cat /dev/random > dummy" results in a empty dummy file even if it runs for 
several minutes. "cat /proc/sys/kernel/random/entropy_avail" returns 23.
Anyway, I do not need SSL stuff here. Is there a way to compile libtcnative 
without SSL? 
Or is it possible to force usage of /dev/urandom in favour of /dev/random. 
According to /usr/share/doc/libssl0.9.8/changelog.Debian.gz /dev/urandom is 
used by default, but:

$ lsof | grep random
java      3599 tomcat    5r      CHR    1,8               2335 /dev/random
java      3599 tomcat    6r      CHR    1,9               2337 /dev/urandom
java      3599 tomcat   27r      CHR    1,8               2335 /dev/random

So, /dev/random seems to be used.

Regards,
Stefan

Am Montag, 2. April 2007 07:15 schrieb Mladen Turk:
> Filip Hanik - Dev Lists wrote:
> > it's blocking on initialization of SSL, did you set the correct
> > <Connector> attributes for APR/SSL (they are not the same as the java
> > connector)
>
> Like Rainer said it blocks in SSL.initialize(). Wait few minutes...
> Now, a param for AprLifecycleListener named
> SSL.randSet("/dev/urandom") might help, although it doesn't exists.
> BTW, I'm not sure that even yours SSLEngine="on|off" works either
> (its always "on" thought)
>
> Regards,
> Mladen.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message